- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Sun, 22 Dec 2019 03:34:00 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-pseudo-4] Original color of highlight pseudo inside ::first-letter/::first-line == Currently, if an author specifies a background color for selection highlights but does not specify a `color`, we use the color of the originating element. This gets really interesting in the presence of ::first-letter or ::first-line... basically, highlighting the text changes its color, because it's now looking up the color of the paragraph element instead of the ::first-letter or ::first-line element. Probably this behavior would be OK in the case of selections, but it's probably quite unexpected if we're handling ::spelling-error or ::grammar-error. It would mean that a spelling error in the first line would end up with the paragraph text color even if the rest of the line has its own color. What do we want to do about this? Issue found via @TalbotGās proposed test active-selection-027 in https://github.com/web-platform-tests/wpt/pull/20028 see [testcase](http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=7628) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4625 using your GitHub account
Received on Sunday, 22 December 2019 03:34:02 UTC