-
Notifications
You must be signed in to change notification settings - Fork 664
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
[css-conditional-5] Evaluate IACVT style queries to false #11143
Comments
Yes, I think so. It's probably useful to consider what will happen with IACVT if/when we start supporting standard properties. For instance I don't remember if there was a discussion around allowing |
I agree that IACVT should not evaluate |
As a note for my original test case: I see how it could be ambiguous, but in that test case I did not intend it to be I don't know which will be better. From an author perspective, That said, will the |
Right, they should be false, not unknown. We're testing whether a given property's value equals a certain value; if the value we're testing against triggers IACVT, then the value that it is (which is, by definition, a valid value) is clearly not equal to that. This isn't the same as an unrecognized query, which might represent a question that would be true if the UA understood it. (If the IACVT is due to something being unrecognized, then a more modern UA might understand it and return true, but this UA that's currently executing the query doesn't understand it, by definition, so it's not equivalent to any value the UA does understand.) |
Proposed: |
The current spec can be interpreted to evaluate the following style query to true:
(Test case from @kizu.)
This is because the query value is described to go through the regular computed value process, and additionally non-cascade dependent keywords are allowed (that includes
unset
, which IACVT falls back to). This causes--test:b
=> IACVT =>unset
=>a
, which indeed is the computed value of--test
onbody
.I'm fairly certain that we want to evaluate any IACVT query to "false"? @mirisuzanne @lilles
The text was updated successfully, but these errors were encountered: