Firefox doesn't allow radio buttons to be literally zero sized
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: dholbert, Assigned: emilio)
References
(Regressed 1 open bug)
Details
Attachments
(3 files)
STR:
- Load attached testcase.
ACTUAL RESULTS:
The bottom 4 rows, "4" through "0", are all the same size.
EXPECTED RESULTS:
They should be progressively smaller, with 0 being completely invisible.
This is the root cause of bug 1900326 where a site is depending on a radio button with width:0; height:0
to not-contirbute-at-all to scrollable overflow. The fact that it contributes creates a giant scrollable area that the site does not actually want to be present. If we let it be zero sized, then it wouldn't contribute to scrollable overflow and everything would be fine.
Reporter | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
That's because we enforce a border here. I think we can try not to, but we might have to fix up the baselines.
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 3•5 months ago
|
||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Backed out for causing assertion failures on nsCheckboxRadioFrame.cpp
Assignee | ||
Updated•5 months ago
|
Comment 9•5 months ago
|
||
bugherder |
Updated•4 months ago
|
Comment 12•4 months ago
|
||
Reproducible on a 2024-06-17 Nightly build on Windows 10.
Verified as fixed on Firefox 129.0b2 and Firefox Nightly 130.0a1 on Windows 10, Ubuntu 22, macOS 14.
Comment 13•4 months ago
|
||
Backed out of beta for causing Bug 1907291
https://hg.mozilla.org/releases/mozilla-beta/rev/665b557e059d62c46ea8253e1c50a1deaa0d6d3e
Description
•