-
Notifications
You must be signed in to change notification settings - Fork 715
[css-values-5] Forwards compatibility for inline if()
#10818
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
This sounds like a great idea. In fact, what is the widest set of parse-able tokens we could allow there and simply have them evaluate to |
For comma/else, I think pretty much any comma/semicolon-separated item matching For :?, I guess it's |
While a I think it needs to use the 3-value syntax like MQs, tho - if the UA doesn't understand the condition, it doesn't know whether the condition is true or false, so it shouldn't treat |
With the addition of |
Regardless of the outcome of #10064, should we implement something like
<general-enclosed>
for forwards compat?For example:
In the above, we probably want
future-thing(...)
to evaluate tofalse
, rather than making the wholeif
invalid?@LeaVerou @tabatkins
The text was updated successfully, but these errors were encountered: