Closed Bug 1767331 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33900 - Adjust when simplified layout can be performed

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

Adjust when simplified layout can be performed

We could end up in a state where we retrieved a cached measure
result, and a cache status of kNeedsSimplifiedLayout. However, if the
box had previously fragmented, it wouldn't have a cached layout result
(and its children might not either). We should avoid simplified
layout in this case since simplified layout relies on children having
a cached layout result.

Bug: 1321393
Change-Id: I9748c75cebbdefc7946e27c40bc8f6024cf305af

Reviewed-on: https://chromium-review.googlesource.com/3621501
WPT-Export-Revision: 2b8b01401f9db9cb8351d209a38ac360c65190d8

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS : 1

Chrome

CRASH: 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/ef65ea43f144
[wpt PR 33900] - Adjust when simplified layout can be performed, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.