Re: [csswg-drafts] [css-values-4] Proposal: additional CSS-Wide Keyword, "ignore" (primarily for css variable fallbacks) (#5319)

Note that won't work by itself. If you use `--padding: ignore`, and `ignore` is a CSS-wide keyword, it will be resolved on `--padding`, basically setting it to the initial guaranteed-invalid value. So in `var(--padding, 20px)` you will still get `20px`.
What you want is to keep `ignore` as a raw token, and resolve it where the variable is substituted. This needs #2749

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

Received on Friday, 17 July 2020 13:54:19 UTC