Bug
1766966 [wpt PR 33858] - [@container] Upgrade parent document if needed, a=testonly
Automatic update from web-platform-tests
[@container] Upgrade parent document if needed
If you have an iframe that's inside a container, and then call gCS
on some element inside that iframe, we need to update the style,
layout-tree *and* layout for the parent frame first. Whether or not
we should do *layout* is handled by ParentLayoutUpgrade, but it
only considered viewport-dependent media queries, not @container
dependency status.
ParentLayoutUpgrade::ShouldUpgrade, also consider whether the
Node owning the iframe needs an upgrade according to the regular
NodeLayoutUpgrade rules.
Fixed:
1312940
Bug:
1321010
Change-Id: I6bd554618662fbb6d7e7a505d67aaeed0a4b4f03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3613269
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#998299}
--
wpt-commits:
21971bb366f578615c4baeeb4b6040869c686504
wpt-pr: 33858