File tree 1 file changed +7
-2
lines changed 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -696,8 +696,9 @@ Painting the Highlight</h3>
696
696
using its own 'color' ,
697
697
with ''currentColor'' on its 'color' property representing the 'color'
698
698
of the next <a>highlight pseudo-element</a> layer below,
699
- falling back finally to that of the <a>originating element</a>
700
- (the colors that would otherwise be used).
699
+ falling back finally to the colors that would otherwise have been used
700
+ (those applied by the [=originating element=] or
701
+ an intervening [=pseudo-element=] such as ''::first-line'' or ''::first-letter'' ).
701
702
Any text decorations introduced by each <a>highlight pseudo-element</a>
702
703
are stacked in the same order as their backgrounds
703
704
over the text’s original decorations
@@ -980,6 +981,10 @@ Changes</h2>
980
981
(<a href="https://github.com/w3c/csswg-drafts/issues/2998">Issue 2998</a> )
981
982
<li> Allowed highlight overlay of inline-level boxes to extend to the line box edges.
982
983
(<a href="https://github.com/w3c/csswg-drafts/issues/5395">Issue 5395</a> )
984
+ <li> Clarify that ''currentColor'' on a [=highlight pseudo-element=]
985
+ uses the color that would be used if the text were not “highlighted”,
986
+ even if that color was provided by a pseudo-element like ''::first-line'' .
987
+ (<a href="https://github.com/w3c/csswg-drafts/issues/4625">Issue 4625</a> )
983
988
</ul>
984
989
985
990
Changes since the <a href="https://www.w3.org/TR/2016/WD-css-pseudo-4-20160607/">7 June 2016 Working Draft</a> include:
You can’t perform that action at this time.
0 commit comments