<input> textfield as -webkit-box flex item doesn't shrink below intrinsic size in Firefox (but does shrink in other browsers)
Categories
(Core :: Layout: Flexbox, defect)
Tracking
()
People
(Reporter: dholbert, Assigned: TYLin)
References
Details
(Keywords: webcompat:platform-bug)
Attachments
(4 files)
[This is the underlying bug behind WebCompat Site Report Bug 1925259.]
STR:
- Load attached testcsae.
EXPECTED RESULTS:
Textfield should shrink to fit inside teal box.
ACTUAL RESULTS:
Textfield does not shrink enough; it overflows quite a ways beyond the right side of the teal box.
Chrome 132.0.6793.2 (Official Build) dev (64-bit) and Epiphany (gnome-web) version 47 both give EXPECTED RESULTS.
Firefox Nightly 134.0a1 (2024-11-04) (64-bit) gives ACTUAL RESULTS.
Reporter | ||
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
With this helper, we are able to get percentage basis only when needed.
While I'm here, I revised the code comment by adopting the review comments in
https://phabricator.services.mozilla.com/D120519#inline-666075
Updated•9 months ago
|
Assignee | ||
Comment 2•9 months ago
|
||
This patch makes it easier to use IsLegacyBox(this)
to test whether the flex
container is legacy or not.
Assignee | ||
Comment 3•9 months ago
|
||
Comment 6•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/785e1d3da060
https://hg.mozilla.org/mozilla-central/rev/c05545b2d1f6
https://hg.mozilla.org/mozilla-central/rev/8c9ad1da1fb0
Comment 9•8 months ago
|
||
The patch landed in nightly and beta is affected.
:TYLin, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox134
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 10•8 months ago
|
||
This bug has existed for years. Let's have it ride the train.
Updated•7 months ago
|
Comment 11•7 months ago
|
||
I was able to reproduce the issue on an affected Firefox Nightly 134.0a1 from 2024-11-04, using Windows 11 while loading the test case attached in Comment 0.
Verified as fixed on Firefox 135.0b2 using Windows 11, macOS 13.6 and Ubuntu 22.04. Textfield shrinks inside teal box.
Description
•