Re: [csswg-drafts] [css-cascade-5] Do conditional rules impact layer order? (#6407)

In isolation I like the bubbling suggestion. But I wonder if it's too great an "exception" to how conditionals usually work, and whether adding such special-snowflake behaviors actually end up _more_ surprising. In your latest example, re-ordering based on viewport width just looks like what the author is asking for to me. :-)

There are other options though:

3. Separate layer ordering declarations from layer usage and make it invalid to order things in conditionals, or (similar):
4. Make `@layer foo {}` a parse error inside a conditional unless `foo` has been (successfully) declared previously.


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


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

Received on Thursday, 24 June 2021 09:38:42 UTC