Closed Bug 1740081 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 31546 - Skip DisplayLock forced updates when outside flat tree

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Skip DisplayLock forced updates when outside flat tree

It would seem that the style code can get in a bad state when we try to
set style bits in a node that's outside the flat tree during a forced
update. This patch skips setting those bits when the node to unlock is
outside the flat tree.

Fixed: 1266891
Change-Id: Idd6af0ad60f7151bad9c59c4996d539691ae7408
Reviewed-on: https://chromium-review.googlesource.com/3268447
WPT-Export-Revision: 154b5f0d9c6a2fa02fa9a59233e92f236a2f587a

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

CI Results

Ran 11 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/9b8f20ef110b
[wpt PR 31546] - Skip DisplayLock forced updates when outside flat tree, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.