[wpt-sync] Sync PR 33858 - [@container] Upgrade parent document if needed
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33858 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33858
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
[@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.Note that the WPT currently fails due to Issue 1321010, but it's
still a useful test for this CL since it would crash without the fix.Fixed: 1312940
Bug: 1321010
Change-Id: I6bd554618662fbb6d7e7a505d67aaeed0a4b4f03
Reviewed-on: https://chromium-review.googlesource.com/3613269
WPT-Export-Revision: a2a28ade9b59928bbe8c06de627f8db1d16d6602
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=c1b384b5cd4aa9c1b150b1249dff47597cdbb012
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
ERROR
: 1
Chrome
OK
: 1
FAIL
: 1
Safari
OK
: 1
FAIL
: 1
Links
Details
Firefox-only Failures
New Tests That Don't Pass
- /css/css-contain/container-queries/iframe-in-container-invalidation.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:OK
)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/38a00ee9f434 [wpt PR 33858] - [@container] Upgrade parent document if needed, a=testonly https://hg.mozilla.org/integration/autoland/rev/bdaf27f350dd [wpt PR 33858] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/38a00ee9f434
https://hg.mozilla.org/mozilla-central/rev/bdaf27f350dd
Description
•