Re: [csswg-drafts] [mediaqueries-5] Unclear if @custom-media must precede usage (#6956)

The spec doesn't require it to be in order, and I don't think it should be seen as implied. Just like you can use a declared font-family earlier in the stylesheet than the declaring `@font-face` rule, or for custom properties. There are very few things in CSS where the order of the stylesheet matters, and they're called out. This is not one of them. 

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


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

Received on Tuesday, 18 January 2022 03:05:00 UTC