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

Firefox's behavior was change in [Bug 1585485]() in the way that when computing flex item's specified size suggestion, the element listed in 5.2.2 is always resolve the percentage part of size to 0 whether the % is cyclic or not.

> 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.

It would be great to see this exception documented for non-button-like form elements or other types of elements that might want this behavior, and apparently normal replaced elements like `<img>`, `<video>` doesn't want this. @davidsgrogan Do you know where is the code in blink that enforces this behavior? I hope it's easier to dig into to the code to come up with a list of elements than writing a test case to reverse engineering the behavior.

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


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

Received on Wednesday, 10 March 2021 19:17:28 UTC