Closed Bug 1826821 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39412 - Fix crash when determining the static-position.

Categories

(Core :: Layout: Positioned, task, P4)

task

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

Fix crash when determining the static-position.

Patch: https://chromium-review.googlesource.com/c/chromium/src/+/4394857

...introduced a NOTREACHED_NORETURN() to
ContainingBlockLogicalWidthForPositioned. Turns out this was reachable!

When we compute the static-position from "legacy" within:
LayoutNGMixin\<Base>::UpdateOutOfFlowBlockLayout

However the result of this static-position call shouldn't be needed as
this codepath should always require at least one inset set in both axes.

Bug: 1431205
Change-Id: I81a463bf9fab8fb2958065bb3e7a51dfea3e82ef
Reviewed-on: https://chromium-review.googlesource.com/4406493
WPT-Export-Revision: d92a87e345f760a0d6b8a3d5961abf3601bb64d6

Component: web-platform-tests → Layout: Positioned
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79f1a201a843 [wpt PR 39412] - Fix crash when determining the static-position., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.