File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -637,6 +637,13 @@ Painting the Highlight</h3>
637637 over the text’s original decorations
638638 and are all drawn, in their own colors.
639639
640+ Note: The element’s own text decorations
641+ (both <a href="https://www.w3.org/TR/css-text-decor/#line-decoration">line decorations</a>
642+ and <a href="https://www.w3.org/TR/css-text-decor/#emphasis-marks">emphasis marks</a> )
643+ are thus drawn in the pseudo-element’s own 'color'
644+ when that is not ''currentColor'' ,
645+ regardless of their original color or fill specifications.
646+
640647 Issue: What should happen with text shadows?
641648 Drawing them in their original color is disconcerting if that color is not a shade of gray.
642649 Maybe if the overlay has a background, suppress any text shadows below it?
You can’t perform that action at this time.
0 commit comments