Closed Bug 1574405 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 18490 - Use StyleEngine::InRebuildLayoutTree() to check if we are rebuilding.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Use StyleEngine::InRebuildLayoutTree() to check if we are rebuilding.

We used ChildNeedsReattachLayoutTree() on documentElement() to check
after [1], but that is false if it's only the root element which is
marked for re-attachment.

[1] https://crrev.com/df2ed4afdfaf3b30adc3d4d80cc7559965eb8519

Bug: 993764
Change-Id: If4656e1c478ee74d26e6e1a39dcef601837020e2
Reviewed-on: https://chromium-review.googlesource.com/1755990
WPT-Export-Revision: 0584751c74572bc242ba6979ad2801c6c372bcbc

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests
PASS   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bcf915de2fb3
[wpt PR 18490] - Use StyleEngine::InRebuildLayoutTree() to check if we are rebuilding., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.