[wpt-sync] Sync PR 64139 - [gap-decorations] Fix flex main gap added twice for overflowing content
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64139 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64139
Details from upstream follow.
Javier Contreras Tenorio <javiercon@microsoft.com> wrote:
[gap-decorations] Fix flex main gap added twice for overflowing content
When a row flex container with gap decorations fragments, a row can end
in one fragmentainer while one of its items has overflowing content that
continues into the next one.Before this CL, the resumed item overflow still went through the usual
flow for gap decorations, through
FlexGapAccumulator::BuildGapsForCurrentItem(), and we added a
correspondingMainGapfor it even though the previous fragment had
already recorded it. At paint time, the stitched index of that duplicate
gap was equal to the total row gap count, and the CHECK in
GapGeometry::DecorationValueAssignmentForGap()failed.With this CL, each
FlexLinerecords inhas_inflow_continuation
whether one of its items broke with in-flow content at the end of a
fragmentainer. In the next fragmentainer, an item that resumes only for
overflow skips gap building when its row has no in-flow continuation.Fixed: 574825053
Change-Id: I86b98b82a78f0c78ca07972c7bd92ca0c2ac0f2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8642317
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Javier Contreras \<javiercon@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1726259}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•28 days ago
|
| Assignee | ||
Comment 1•28 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114105
| Assignee | ||
Comment 2•22 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 37 tests
Status Summary
Firefox
PASS : 1[GitHub] 3[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-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 34
Chrome
CRASH: 1
Safari
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-001.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-002.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-003.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-004.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-005.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-006.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-007.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-008.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-009.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-010.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-011.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-012.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-013.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-014.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-015.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-016.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-017.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-018.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-019.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-020.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-021.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-023.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-024.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-025.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-026.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-027.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-028.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-029.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-030.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-031.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-032.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-033.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-034.html [wpt.fyi]:
FAIL - /css/css-gaps/flex/fragmentation/flex-gap-decorations-fragmentation-035.html [wpt.fyi]:
FAIL
Comment 4•20 days ago
|
||
| bugherder | ||
Description
•