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

@valtlai 

> Could we use type="scoped" instead? (Similar to <script type="module">.)

Hmm, as far as "guarding" against legacy browsers, I'm not sure the best approach. I'm not sure a type is ideal (and wouldn't be sufficient to "block" use with a legacy browser), but I feel like that's more of a detail. `type="scoped"` doesn't really specify what the scope identifier should be, so it would be requiring two new attributes instead of one, since specifying the scope on a link would implicitly indicate that it's a scoped stylesheet (a "type" of "scoped").

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

Received on Monday, 19 August 2019 19:58:41 UTC