Closed Bug 1714154 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29187 - Fix OOF fragments to be up-to-date under certain conditions

Categories

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

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Koji Ishii <kojii@chromium.org>' wrote:

Fix OOF fragments to be up-to-date under certain conditions

|NGOutOfFlowLayoutPart::CalculateOffset| may run a layout and
set the result to |OffsetInfo::initial_layout_result|. Then
|NGOutOfFlowLayoutPart::Layout| uses it when available.

When |inline_size_depends_on_min_max_sizes|, |CalculateOffset|
and |Layout| runs multiple times, but |Layout| was always
using the initial |OffsetInfo|. This patch fixes to use the
latest one.

Bug: 1215516
Change-Id: I8cb5734107d59361168690e7b706a2e9f9b4679f

Reviewed-on: https://chromium-review.googlesource.com/2933638
WPT-Export-Revision: 063905a2376af68ad3d94e6d6c671e60343e34ed

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

CI Results

Ran 15 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

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c609cc93d2e5
[wpt PR 29187] - Fix OOF fragments to be up-to-date under certain conditions, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.