Make XUL have min-width/height: 0 by default.
Categories
(Core :: XUL, task)
Tracking
()
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 obsolete file)
So that the minimum sizing that flexbox / grid has doesn't apply when emulating it.
Assignee | ||
Comment 1•2 years ago
|
||
UL boxes allow their children to shrink, so using min-sizes of zero
allow us to preserve that behavior when emulating -moz-box with flexbox.
This fixes some tests with emulated flexbox enabled
(tests that expect a <browser> to shrink under 150px for example).
To do this we need to revert an accidental change from bug 1527410.
Don't treat a min-height/width: 0 as "set" for XUL purposes. See the !=
0 here which is before that change:
This makes min-height
discontinuous on XUL layout, but I think that's
fine, since XUL's behavior here is quite a mess already, and is the
pre-existing behavior anyways. Keep 0% for when you want "really zero"
behavior. Our front-end already had a few cases of that.
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
XUL min-size is fairly different than flex min-size, but I think we can work with what we have here in practice.
Description
•