Re: [csswg-drafts] proposal: [CSS-import] import only in moment when we need it.

https://drafts.csswg.org/css-cascade-3/#at-import already says

> If the media query does not match, the rules in the imported stylesheet do not apply, exactly as if the imported stylesheet were wrapped in an `@media` block with the given media query. User agents may therefore **avoid fetching a media-dependent import** as long as the media query does not match

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

Received on Friday, 24 August 2018 17:24:28 UTC