Re: [csswg-drafts] [css-cascade] Relax the restriction for @import to precede all other rules (#6334)

It also complexifies the "in document order" part of cascade; currently all the styles in a given stylesheet are grouped together in document order, so you can just check if two styles come from the same stylesheet or not, and only dive into their exact position in they do. If @import can go anywhere, this is no longer true, as rules from one sheet can go before *or* after rules from another sheet.

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


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

Received on Tuesday, 8 June 2021 00:52:41 UTC