- From: Delan Azabani via GitHub <sysbot+gh@w3.org>
- Date: Tue, 16 Mar 2021 09:11:15 +0000
- To: public-css-archive@w3.org
Thanks @fantasai + @frivoal! Those edits are a good start, though I can see a few more opportunities for clarification. We might want to somehow clarify that [#highlight-text](https://drafts.csswg.org/css-pseudo/#highlight-text) applies to all _other_ decorations in the broader css-text-decor sense — including emphasis marks, but excluding shadows — in the normative text (in addition to the parenthetical in the note). To prevent a misunderstanding like 1=a 2=a, we might also want to add an informative note like the following: > Unlike shadows, other text decorations won’t be obscured by any highlight overlay backgrounds that are drawn for the associated text. I used line-through in my original examples to simplify them, but that left me with two questions: 1. Are underlines and overlines introduced by the highlight pseudos painted *under* the associated text (like they would be if they were original decorations)? 2. Are decoration paints ordered by decoration type *then* by highlight pseudo (original, …, ::target-text, ::selection), rather than “grouped” by highlight pseudo? For example (topmost last): * a) orig under, text, orig through, ::target-text over, ::target-text through, ::selection under (1=no, 2=no) * b) orig under, text, orig through, ::selection under, ::target-text over, ::target-text through (1=no, 2=yes) * c) orig under, ::target-text over, ::selection under, text, orig through, ::target-text through (1=yes, 2=no) * d) orig under, ::selection under, ::target-text over, text, orig through, ::target-text through (1=yes, 2=yes) -- GitHub Notification of comment by delan Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6022#issuecomment-800087413 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 16 March 2021 09:11:19 UTC