In this github issue, the CSSWG defined some elements as having a "compressible" min-content width: https://github.com/w3c/csswg-drafts/issues/1889 https://drafts.csswg.org/css-sizing/#min-content-zero We need to implement that change. (This was originally a Chrome bug, up until that spec change which standardized on the Chrome behavior, kind of. I filed https://bugs.chromium.org/p/chromium/issues/detail?id=581545 a while back and initially misunderstood the spec change to be different from what Chrome does, but now I'm pretty sure the spec calls for basically what Chrome does.) Reduced-ish testcase: https://jsfiddle.net/pfv2x6sd/1/ EXPECTED RESULTS: The textfield element shouldn't overflow the red-bordered area. ACTUAL RESULTS: The textfield does overflow.
Bug 1585485 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In this github issue, the CSSWG defined some elements as having a "compressible" min-content width: https://github.com/w3c/csswg-drafts/issues/1889 https://github.com/w3c/csswg-drafts/commit/6a3be51bdda0ccb92af0d09556d6d1f2e7d8874d Direct spec link: "Compressible Replaced Elements" https://drafts.csswg.org/css-sizing/#min-content-zero We need to implement that change. (This was originally a Chrome bug, up until that spec change which standardized on the Chrome behavior, kind of. I filed https://bugs.chromium.org/p/chromium/issues/detail?id=581545 a while back and initially misunderstood the spec change to be different from what Chrome does, but now I'm pretty sure the spec calls for basically what Chrome does.) Reduced-ish testcase: https://jsfiddle.net/pfv2x6sd/1/ EXPECTED RESULTS: The textfield element shouldn't overflow the red-bordered area. ACTUAL RESULTS: The textfield does overflow.