-
Notifications
You must be signed in to change notification settings - Fork 709
[css-sizing] Aspect-ratio min-size needs to check for "auto", not non-zero #4217
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
…value is 'auto', so this won't shrink down to zero by default.) #4217
Checked for CC @Loirooriol for sanity-checking :) |
@fantasai I think that could clarify that the value to be checked for definiteness is the computed value, not the used value, since in most cases an |
It's currently specced as |
@Loirooriol We went ahead and simplified it further, to explicitly check for a computed |
Checking for a computed |
Not quite! Following the definitions, the type of Then, a calc() matches a production if its type matches that production; following the link again to TypedOM, a type with a percent hint can not match |
@Loirooriol So, with that explanation, does the spec seem okay? |
Yes, then it looks good to me |
…y around percentages etc. w3c#4217
In https://drafts.csswg.org/css-sizing-3/#intrinsic:
This should probably be checking for non-"auto", not non-zero. (Open ranges are bad.)
The text was updated successfully, but these errors were encountered: