Re: [csswg-drafts] [css-cascade-5] Allow authors to explicitly place unlayered styles in the cascade layer order (#6323)

> I think unlayered CSS styles should behave similarly to what Java does with its Unnamed Module. Unlayered styles should be part of an implicit layer that has a specific name, like "default". Then we could just reorder the layers and place the "default" layer in another place. If not mentioned the default layer could continue just being the one with the highest precedence.

I believe in order for that to work some sort of special name would be required, that was either previously forbidden, or uses special characters (i.e. different syntax), as otherwise that would, or at least *could*, break existing web content for any given "default" name that might be chosen.

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


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

Received on Tuesday, 2 July 2024 21:19:11 UTC