Re: [csswg-drafts] [css-cascade-4] An "all-namespaces" user agent stylesheet (#8573)

I'm not sure there's actually an issue here? The stylesheets you linked contain namespaced rules: if you apply them to every single document loaded by the UA, you'll get the expected behavior. As for how the UA splits up the stylesheets into individual files internally: that's an implementation detail that we don't need to care about. If they want to put them all into a single file, using individually namespaced selectors instead of file-level default `@namespace`... that should be fine.

To the extent that CSS spec themselves define UA rules that apply to all namespaces (e.g. for View Transitions), they simply need to use selectors that are not namespaced. 

If there are order dependencies among the rules, we do need to be careful to spec those explicitly. But I don't think we have any such cases atm?

It might be nice to have an index of all of these things, but other than that, I don't think there's anything to do here. @jakearchibald am I missing something?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 31 May 2023 19:50:51 UTC