[wpt-sync] Sync PR 62543 - [gap-decorations] Fix crash with huge row gaps
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62543 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62543
Details from upstream follow.
Javier Contreras Tenorio <javiercon@microsoft.com> wrote:
[gap-decorations] Fix crash with huge row gaps
When a row-gap offset saturated during grid fragmentation (due to a
value higher than LayoutUnit::Max), the spillover calculation could
produce an incorrect adjustment, due to the saturation hiding the true
distance past the edge. The adjustment persisted in the break token,
which corrupted later fragments and led to a null dereference.Skip the adjustment when the gap offset is saturated. The difference
cannot be represented safely, and suppressing it avoids corrupting
subsequent fragments. Add a regression crash test.Fixed: 542066231
Change-Id: I0489c0990f26ac3541397a90aff28790f57a0323
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8349009
Commit-Queue: Javier Contreras \<javiercon@microsoft.com>
Reviewed-by: Kurt Catti-Schmidt \<kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1694366}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=110ab6dc49c29e8e274cb47416f91e0adb9d5356
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 40 tests
Status Summary
Firefox
PASS: 1[GitHub] 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 10[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 30
Chrome
PASS: 1
Safari
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-008.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-009.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-010.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-011.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-012.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-013.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-014.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-015.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-016.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-017.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-020.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-021.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-022.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-023.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-024.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-025.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-026.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-027.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-028.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-029.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-030.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-031.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-032.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-033.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-036.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-037.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-038.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-039.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-040.html [wpt.fyi]:
FAIL - /css/css-gaps/grid/fragmentation/grid-gap-decorations-fragmentation-041.html [wpt.fyi]:
FAIL
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•