Re: [csswg-drafts] [css-contain-3] Should style() queries allow !important flag? (#7413)

In the case of `@supports`,
> A trailing !important on a declaration being tested is allowed, though it won’t change the validity of the declaration.

I suspect we may want to do the same here: allow the `!important` syntactically, but ignore it. That way, we're consistent about the allowed syntaxes in the places that let you give a declaration for the sake of checking something rather than for declaring something. That said, if people feel strongly about disallowing it, that seems ok too.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 24 August 2022 13:17:55 UTC