<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•1 year ago
|
| Assignee | ||
Comment 1•1 year 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•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
This patch makes it easier to use IsLegacyBox(this) to test whether the flex
container is legacy or not.
| Assignee | ||
Comment 3•1 year ago
|
||
Comment 6•1 year 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•1 year 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-firefox134towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 10•1 year ago
|
||
This bug has existed for years. Let's have it ride the train.
Updated•1 year 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
•