W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

Re: [csswg-drafts] [css-pseudo-4] need for clarification on how ::selection text-shadows work (#3932)

From: Delan Azabani via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Jan 2021 02:32:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-761939952-1610937142-sysbot+gh@w3.org>
G’day @fantasai @Gankra, I found this issue long after [updating some ::selection text-shadow tests](https://crrev.com/c/2624328) to reflect the new spec behaviour. I didn’t realise specs could actually [reference WPT cases](https://github.com/w3c/csswg-drafts/blob/3e610ca1e6cbeabe6e90f14688d4d265a2ccd8f1/css-pseudo-4/Overview.bs#L538-L539) until I stumbled upon [the bikeshed button](https://drafts.csswg.org/bikeshed/css-pseudo-4/):


Sorry for breaking that. I’ve replaced those two with [highlight-painting-order.html](https://wpt.live/css/css-pseudo/highlight-painting-order.html) which:

* checks the relative painting order of text, original shadows, ::selection background, and ::selection shadows
* asserts that the ::selection shadows are unclipped and independent of the original shadows

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 18 January 2021 02:32:24 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:25 UTC