W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-selectors][css-namespaces] Lexical Scoping (#4061)

From: Matthew Dean via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Aug 2019 16:33:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-522071346-1565973185-sysbot+gh@w3.org>
> this will load all.css in all current and legacy browsers.

That's a good point.

You could always prevent a media match with:

```html
<link rel="stylesheet" href="all.css" media="scope" scope="foo">
```
AFAIK, any non-matching media-query is supposed to be converted to `not all` according to the spec

-- 
GitHub Notification of comment by matthew-dean
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4061#issuecomment-522071346 using your GitHub account
Received on Friday, 16 August 2019 16:33:07 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:02 UTC