You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess negative lengths would be like having content with negative margins. But the element won't get a negative size anyways so it seems pointless. I would update to <length [0,∞]>, yes.
weinig
added a commit
to weinig/csswg-drafts
that referenced
this issue
Mar 18, 2025
The current grammar for the contain-intrinsic-* properties 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)
The text was updated successfully, but these errors were encountered: