Bug 1753965 [wpt PR 32721] - [@container] Resume skipped style recalc for dropped...
commit10edc94325e37d264938513c0642bb76f6cc865b
authorRune Lillesveen <futhark@chromium.org>
Sat, 26 Feb 2022 22:13:27 +0000 (26 22:13 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 7 Mar 2022 14:48:30 +0000 (7 14:48 +0000)
tree072fe0e05b613de5363e01142577e29ec28487ed
parentd7ad8298a8dad7092155eb9e106bbeedb35fa792
Bug 1753965 [wpt PR 32721] - [@container] Resume skipped style recalc for dropped LayoutObjects, a=testonly

Automatic update from web-platform-tests
[@container] Resume skipped style recalc for dropped LayoutObjects

LayoutObject::IsChildAllowed() may disallow child LayoutObjects of
certain types. We are typically not able to detect this at style recalc
time, which means we may skip style recalc for size query containers
which will not be able to resume recalc in NGBlockNode. Detect this at
AttachLayoutTree time and force-resume the style recalc like we do for
legacy layout.

Bug: 1294268
Change-Id: I0a1a3d4437d84d913c3a75b056ae993601a5fb51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440249
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#967745}

--

wpt-commits: 7ae1a8ce81b4fb0792b431dbcc41e20c4fee5517
wpt-pr: 32721
testing/web-platform/tests/css/css-contain/container-queries/math-block-container-child-crash.html [new file with mode: 0644]