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

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/):

![screenshot](https://user-images.githubusercontent.com/465303/104865625-9a128600-5990-11eb-8671-56dd9bdfd24c.png)

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