Closed Bug 1851994 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 41808 - [scroll-snap] Fix dynamic custom scroll part crash.

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41808 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41808
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[scroll-snap] Fix dynamic custom scroll part crash.

With custom scroll parts its possible for them (as they are properly
attached to the layout-tree), not to have a valid snap container.

Add a null check.

Bug: 1475557, 1472537
Change-Id: I3f19fae21d5418a321abdd4fc9151bd8b3168c2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4839611
Auto-Submit: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Robert Flack \<flackr@chromium.org>
Reviewed-by: Robert Flack \<flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1192646}

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/210b3a532ad0 [wpt PR 41808] - [scroll-snap] Fix dynamic custom scroll part crash., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.