lume.io menu misaligned on desktop.
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
| Assignee | ||
Comment 1•4 years ago
|
||
This matches other browsers, the spec
(https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution):
For the min size properties, as well as for margins and paddings (and
gutters), a cyclic percentage is resolved against zero for determining
intrinsic size contributions.
And also what we do in SizeComputationInput::Compute{Margin,Padding}:
https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2811-2832
https://searchfox.org/mozilla-central/rev/75e9d727ce5ba2c14653cf8fb0f1367f085271b7/layout/generic/ReflowInput.cpp#2861-2868
This fixes a compat issue with the menu alignment in lume.io:
https://github.com/webcompat/web-bugs/issues/88484#issuecomment-933226651
It's also simpler.
Comment 4•4 years ago
|
||
Thanks for getting to the bottom of this!
Comment 5•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Description
•