Closed
Bug 1733952
Opened 3 years ago
Closed 3 years ago
lume.io menu misaligned on desktop.
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
95 Branch
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
Assignee | ||
Comment 1•3 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.
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1fd26f24025c When computing inline intrinsic sizes, resolve with a 0 percentage basis rather than just resolving to zero if there's a percentage. r=jfkthame
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/31098 for changes under testing/web-platform/tests
Comment 5•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Upstream PR merged by moz-wptsync-bot
Updated•3 years ago
|
See Also: → https://webcompat.com/issues/88484
You need to log in
before you can comment on or make changes to this bug.
Description
•