Re: [whatwg/fullscreen] Impossible to customize the style of a dialog's ::backdrop residing inside a Shadow DOM. (#124)

> I’ve encountered this issue and found other pseudo elements have the same behaviour, for example `::selection`. It makes things slightly difficult because combining them into one selector with other globals (`:root, ::selection, ::backdrop`) will reject the entire style rule on browsers that don’t support one of those elements, which means the entire style rule needs to be duplicated for each selector.

Untested, but isn't `:where` a solution here?

```css
:where(:root, ::selection, ::backdrop) {
...
}
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/124#issuecomment-1738884355
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/issues/124/1738884355@github.com>

Received on Thursday, 28 September 2023 10:28:10 UTC