[wpt-sync] Sync PR 31879 - [@container] Don't reattach fieldset while being laid out
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox97 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31879 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31879
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
[@container] Don't reattach fieldset while being laid out
Fieldsets were fully re-attached when any child were re-attached to
change the box structure for rendered legends. If the fieldset is a
container for size container queries, this meant the LayoutObject for
the fieldset would be destroyed while being laid out.Instead, re-attach all descendants of fieldset, not the fieldset itself.
Bug: 1275087
Change-Id: I4bee17065828e97f46f920eb1077581b33e78d7e
Reviewed-on: https://chromium-review.googlesource.com/3312998
WPT-Export-Revision: 6c447bd47b179392a03f6b843955ce7a7663cd9a
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Details
New Tests That Don't Pass
/css/css-contain/container-queries/fieldset-legend-change.html: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4a7277c89649
https://hg.mozilla.org/mozilla-central/rev/aa0f52421cb6
Description
•