[wpt-sync] Sync PR 64160 - layout: Floor stretch size by zero in block layout heuristics
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
77.82 KB,
text/plain
|
Details |
Sync web-platform-tests PR 64160 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64160
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
layout: Floor stretch size by zero in block layout heuristics
Block layout uses some heuristics to guess whether margins are separated by clearance and then don't collapse. These heuristics weren't flooring the stretch size in the inline axis by zero. Then the logic could end up thinking that the element had a negative width, and then resolve the percentages of its children incorrectly.
Testing: Adding a test
Reviewed in servo/servo#49239
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114183
| Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 797 tests
Status Summary
Firefox
OK : 224[Gecko-windows11-32-25h2-debug] 225[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 8[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5632[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 6138[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 6140[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 575[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 630[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 632[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
TIMEOUT: 1
ERROR : 1[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2[Gecko-windows11-32-25h2-debug]
Chrome
PASS : 1
Safari
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-sizing/float-clearance-with-margin-collapse-and-stretch-and-padding-percentage.html [wpt.fyi]:
FAIL
(See attachment for full changes)
Comment 4•19 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0f3b203f180b
https://hg.mozilla.org/mozilla-central/rev/3cb0f1a79820
Description
•