W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2020

Re: [csswg-drafts] [css-conditional-3] Are there issues with !important in @supports? (Is the grammar wrong?) (#5559)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 22 Oct 2020 14:05:14 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-714517932-1603375513-sysbot+gh@w3.org>
Just to confirm, [here's a testcase](http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstyle%3E%0A%40supports%20(background%3A%20red)%20%7B%0A%20body%20%7B%20background%3A%20red%3B%20%7D%0A%7D%0A%40supports%20(background%3A%20green%20!important)%20%7B%0A%20body%20%7B%20background%3A%20green%3B%20%7D%0A%7D%0A%3C%2Fstyle%3E)

Chrome and Firefox both show green (!important is allowed)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 22 October 2020 14:05:16 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:20 UTC