Re: [csswg-drafts] [css-conditional] Should CSS.supports() accept !important in the 2nd argument? (#5692)

I'm not sure that these cases should necessarily be consistent in regard to the `!important` flag. Since the difference between two cases essentially boils down to the difference between CSS declaration and CSS value, and, per [css-syntax-3], only parsing the CSS declaration has an extra step of removing the `!important` part from the parsed value ([step 5](, I'd consider different results of adding `!important` in these two cases quite expected.

Also basing on the CSS Syntax logic, I believe that the behavior of Firefox and Chromium is correct, and WebKit has a bug.

GitHub Notification of comment by SelenIT
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Tuesday, 3 November 2020 23:52:45 UTC