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: Tue, 20 Aug 2019 00:18:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-522802187-1566260280-sysbot+gh@w3.org>

> @matthew-dean The type attribute for stylesheets already exists. Just like with scripts, unrecognized values prevent the styles from being applied

Oh is it? ^_^ Nice! Learn something new every day. You're right, that could be potentially a much better solution for blocking legacy browsers then a media query hack.

Would you still suggest `type` to specify a scope name though? It would still make sense to me to make it a separate attribute.

GitHub Notification of comment by matthew-dean
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4061#issuecomment-522802187 using your GitHub account
Received on Tuesday, 20 August 2019 00:18:03 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC