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

Thank you so much @emilio for hunting down those parts of the sources too!

Excuse my naïveté, but if the scanner remains unsophisticated and just drops the terminating condition for scanning `@import`, the main problem is false positives, right? I.e. preloading URLs that shouldn't have been loaded, because we matched an `@import` rule that isn't real. I'm not sure how a false negative could happen. And even for false positives, they would be exceedingly uncommon, so maybe it's an acceptable tradeoff?

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


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

Received on Wednesday, 9 June 2021 09:51:41 UTC