Re: [csswg-drafts] [css-sizing] clarification around Compressible Replaced Elements and min-content size (#5665)

Okay, yes, I misunderstood my own spec text. ^_^

The note we added to Flexbox and Grid is correct - an auto min size *is* an intrinsic size, so the stuff in Sizing section 5.2.1 applies. But that only affects cyclic percentages, which don't appear in any of the testcases here, since in all these examples the container has a definite width and so the % is definite, not cyclic.

So I guess compat might force us to add an exception for non-button-like form elements (so they shrink *all* %s to 0 when calculating mins, not just cyclic ones), but normal replaced elements just follow the spec as written.

To be clear, your two examples should indeed render identically.

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


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

Received on Saturday, 6 March 2021 00:55:03 UTC