Closed Bug 1578166 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 18786 - No need to invalidate style in an empty document.

Categories

(Core :: CSS Transitions and Animations, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

No need to invalidate style in an empty document.

InvalidationRootForTreeScope() assumes we have documentElement() for the
document scope. Exit early from @keyframes invalidation if it's null.

Bug: 999522, 999521, 999524, 999656
Change-Id: Iec34f4871087c50fd2d067d955f26e3eb02536b5

Reviewed-on: https://chromium-review.googlesource.com/1780724
WPT-Export-Revision: e65395e48e47bf45abcdf3e5685e6ac95bcc7b59

Component: web-platform-tests → CSS Transitions and Animations
Product: Testing → Core
Ran 1 tests and 1 subtests OK : 1 PASS : 1
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/fc7a400c0e95 [wpt PR 18786] - No need to invalidate style in an empty document., a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.