-
Notifications
You must be signed in to change notification settings - Fork 715
[css-conditional-3] Are there issues with !important in @supports? (Is the grammar wrong?) #5559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@SimonSapin a few questions:
|
Just to confirm, here's a testcase Chrome and Firefox both show green (!important is allowed) |
The CSS Working Group just discussed RESOLVED: Closed - no change The full IRC log of that discussion<gregwhitworth> Topic: Are there issues with !important in @supports? (Is the grammar wrong?)<astearns> github: https://github.com//issues/5559 <TabAtkins> github: https://github.com//issues/5559 <gregwhitworth> TabAtkins: this is going to be similar to the first one <gregwhitworth> TabAtkins: syntax currently allows a bang at the end, it has no impact on the result <gregwhitworth> TabAtkins: implementations that I tested ignore it consistently. Should this be confirmed that we're fine with or not? <gregwhitworth> TabAtkins: Simon found it unfortunate possibly in the past? I feel we're going to lean towards consistency <gregwhitworth> florian: so you can include it? <gregwhitworth> TabAtkins: yes Chrome/FF do, just ignore it <gregwhitworth> florian: that's good, we may have something later that people can check for that <gregwhitworth> Proposed Resolution: Closed - no change <gregwhitworth> Resolved: Closed - no change <bkardell_> WebKit also seems green in the test <gregwhitworth> chris: we're at 0 open issues, that means we'll be able to publish a CR thing outside of privacy and i18n <gregwhitworth> astearns: deadline? <gregwhitworth> chris: no <gregwhitworth> fantasai: we can publish a crd anytime we want <gregwhitworth> astearns: are there other changes? <gregwhitworth> chris: every edit since 2013 <gregwhitworth> astearns: on some that's a short list :P <gregwhitworth> astearns: should we have a crd to help others <gregwhitworth> fantasai: I think it's a good idea <gregwhitworth> Proposed Resolution: Publish a CRD of CSS Conditional L3 <gregwhitworth> Resolved: Publish a CRD of CSS Conditional L3 |
So is this expected? CSS.supports("background: green !important"); // true
CSS.supports("background", "green !important"); // false |
@Loirooriol Mind filing that as a separate issue? Afaict the spec isn't particularly clear... |
@fantasai |
@svgeesus Idk, maybe I was looking at the wrong issue or something. :) |
@SimonSapin [wrote on www-style in 2013](
The text was updated successfully, but these errors were encountered: