Re: [csswg-drafts] [css-sizing] Aspect-ratio min-size needs to check for "auto", not non-zero (#4217)

Not quite! Following the definitions, the type of `100% + 100px` is obtained by [adding the types](https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-add-two-types) of 100% and 100px; following that link to TypedOM, we find that the resulting type is "length, with a percent hint set to length".

Then, a calc() matches a production if its type [matches that production](https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue-match); following the link again to TypedOM, a type with a percent hint can not match `<length>` (because it contains a non-resolved percentage that we're inferring to be compatible with `<length>`).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 13 October 2020 17:45:34 UTC