@@ -704,11 +704,8 @@ Styling Highlights</h3>
704
704
like 'fill-color'
705
705
must not be treated as highlight colors.
706
706
707
- The 'color' property specifies the color of both the text
708
- and all line decorations (underline, overline, line-through)
709
- and emphasis marks ('text-emphasis' )
710
- applied to the text
711
- by the <a>originating element</a> and its ancestors and descendants.
707
+ If there is no [=cascaded value=] for 'color' ,
708
+ the [=specified value=] is 'currentColor' .
712
709
713
710
<!-- Add this back if for some reason someone wants to implement 'outline' ?
714
711
The outline, if supported, must be drawn
@@ -740,17 +737,6 @@ Default UA Styles</h3>
740
737
and doing so is recommended
741
738
for ''::selection'' and ''::target-text'' .
742
739
743
- Otherwise,
744
- the default highlight colors for that highlight must be
745
- 'currentColor' (<em> not</em> 'initial' or 'inherit' )
746
- and 'transparent' respectively.
747
- In other words,
748
- when the UA doesn’t define default highlight colors
749
- for a given highlight,
750
- highlighted content retains the 'color'
751
- that would otherwise have been used
752
- without that highlight.
753
-
754
740
Note: the painting behavior of highlight colors
755
741
means that default highlight colors
756
742
can't be expressed in terms of 'color' and 'background-color'
0 commit comments