Bug
1766851 [wpt PR 33844] - Require LayoutBox to defer style recalc to layout-time, a=testonly
Automatic update from web-platform-tests
Require LayoutBox to defer style recalc to layout-time
A LayoutBox is required for NGBlockNode, so eagerly recalc skipped
subtrees during layout-tree building if we did not get a LayoutBox.
Additionally, check NGBlockNode::CanUseNewLayout, as this is checked
by NGBlockNode::Layout to early-out at the start of the function.
*Also*, rename MaySkipNGBlockNodeLayout to something which does not
involve the word "skip". It's nice to reserve "skip" in this context
to refer to the style recalc being skipped for a certain set of
descendants.
Fixed:
1313444
Change-Id: Idc875a3635eedb61401e91e9fab90b713f693b21
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3613303
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#997680}
--
wpt-commits:
0f76f50b7410ecd5da5998187efda1dcdb5ff475
wpt-pr: 33844