Bug 1716995 [wpt PR 29413] - Don't ignore parent frame during UpdateStyleAndLayoutTre...
commit4c8522ed20fde0eb6cc23c9428ab102cddf85696
authorAnders Hartvoll Ruud <andruud@chromium.org>
Fri, 25 Jun 2021 22:12:16 +0000 (25 22:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sat, 26 Jun 2021 22:33:07 +0000 (26 22:33 +0000)
tree1bd4da295fdd8cb652e47aeff80889d46d33e618
parentd761e48174c43580bfb79f01630caacaf133bb2e
Bug 1716995 [wpt PR 29413] - Don't ignore parent frame during UpdateStyleAndLayoutTreeForNode, a=testonly

Automatic update from web-platform-tests
Don't ignore parent frame during UpdateStyleAndLayoutTreeForNode

We would incorrectly behave as if were were style-clean if an outer
frame was dirtied with an inner media query. This causes getAnimations
(and probably other cases) to report the wrong thing.

Note: The provided test passes in Firefox.
Change-Id: Ia0743f775804463fb4cf98cce2be013f44ee6c87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2968003
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#893776}

--

wpt-commits: b3f866edc8969fb7a8b452364411864d56e23e18
wpt-pr: 29413
testing/web-platform/tests/web-animations/interfaces/Animatable/getAnimations-iframe.html [new file with mode: 0644]