Re: [csswg-drafts] [css-pseudo] highlight pseudos and emphasis/underline properties (#7101)

Hmm… [#highlight-text](https://drafts.csswg.org/css-pseudo-4/#highlight-text) says:

> The element’s own text decorations (both [line decorations](https://www.w3.org/TR/css-text-decor/#line-decoration) and [emphasis marks](https://www.w3.org/TR/css-text-decor/#emphasis-marks)) are thus drawn in the pseudo-element’s own [color](https://drafts.csswg.org/css-color-4/#propdef-color) when that is not [currentColor](https://drafts.csswg.org/css-color-4/#valdef-color-currentcolor), regardless of their original color or fill specifications.

So if originating emphasis marks are recolored to the highlight ‘color’ just like line decorations, rather than using the highlight ‘text-emphasis-color’, and highlights can’t add their own emphasis marks with ‘text-emphasis-style’, then actually I think there’s no need for ‘text-emphasis-color’ on highlights. @fantasai, what do you think?

-- 
GitHub Notification of comment by delan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7101#issuecomment-1219675179 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 18 August 2022 16:07:18 UTC