We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371a3ca commit 7fca93cCopy full SHA for 7fca93c
css-pseudo-4/Overview.bs
@@ -637,6 +637,13 @@ Painting the Highlight</h3>
637
over the text’s original decorations
638
and are all drawn, in their own colors.
639
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
+
647
Issue: What should happen with text shadows?
648
Drawing them in their original color is disconcerting if that color is not a shade of gray.
649
Maybe if the overlay has a background, suppress any text shadows below it?
0 commit comments