- From: Delan Azabani via GitHub <sysbot+gh@w3.org>
- Date: Wed, 21 Sep 2022 12:18:02 +0000
- To: public-css-archive@w3.org
@fantasai how would it affect originating emphasis marks, given the following? > […] Instead the topmost active [highlight overlay](https://drafts.csswg.org/css-pseudo-4/#highlight-overlay) redraws that text (and those decorations) over all the highlight overlay backgrounds using that highlight’s own [color](https://drafts.csswg.org/css-color-4/#propdef-color). > > Note: 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. I also think originating emphasis marks get painted not because the highlight inherits ‘text-emphasis-style’, but because we say so in #highlight-painting. ‘text-emphasis-color’ has no effect when ‘text-emphasis-style’ is ‘none’, so by analogy, if we want it to have an effect when ‘text-emphasis-style’ is not applicable, we should probably say so explicitly. -- GitHub Notification of comment by delan Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7101#issuecomment-1253625813 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 21 September 2022 12:18:04 UTC