Closed Bug 1705833 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28555 - [cleanup] Run ComputeMinMaxSizes / Layout on demand for OOF nodes.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:

[cleanup] Run ComputeMinMaxSizes / Layout on demand for OOF nodes.

This performs a relatively large cleanup, but effectively this removes
a bunch of complicated logic for determining if we need to run
NGBlockNode::ComputeMinMaxSizes / Layout, and instead calculates
on-demand within ng_absolute_utils.cc

This is easier to read (IMO), and significantly reduces the API
surface.

Change-Id: I674d4f15354097aebe8131e7f664b52a18ddf692
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2818969
Commit-Queue: Ian Kilpatrick \<ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Reviewed-by: Alison Maher \<almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#873363}

PR 28555 applied with additional changes from upstream: 312b5934720a19dd6209890f98f6a7894c0e09e5
Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 2 tests

Status Summary

Firefox

PASS: 2

Chrome

PASS: 1
FAIL: 1

Safari

PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/560d79b206ef
[wpt PR 28555] - [cleanup] Run ComputeMinMaxSizes / Layout on demand for OOF nodes., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.