[csswg-drafts] [css-sizing-4] Should the contain-intrinsic-* properties allow negative lengths? (#11945)

weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-4] Should the contain-intrinsic-* properties allow negative lengths? ==
The current grammar for the [contain-intrinsic-* properties](https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override) is `auto? [ none | <length> ]`, but WPT has tests that indicate a negative length is invalid, https://github.com/web-platform-tests/wpt/blob/7a9307ef9e1e88229ced4a29991270d20911669c/css/css-sizing/contain-intrinsic-size/parsing/contain-intrinsic-size-invalid.html#L22, which all browsers currently pass.

Should the grammar be updated to `auto? [ none | <length [0,∞]> ]`?

cc (@tabatkins, @fantasai, @jensimmons)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11945 using your GitHub account


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

Received on Sunday, 16 March 2025 15:53:53 UTC