mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Destroy leftover block-in-inline anonymous wrappers. When a block-in-inline becomes floated or out-of-flow positioned, we need to destroy the anonymous wrapper block around it (unless it has siblings that still are in-flow blocks). Keeping such leftover wrappers around would prevent content before and after it from being on the same line. It would also incorrectly prevent the block fragmentation code from marking inline formatting context roots as non-contiguous. Non-contiguous inline formatting context roots require some extra work during pre-paint, to satisfy the invariant that the FragmentData and PhysicalFragment count must match. Bug: 329674902, 332396356 Change-Id: Ifd67d5ba35ae5b4b56e004addc27436feeb307c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5412656 Commit-Queue: Morten Stenshorne <[email protected]> Reviewed-by: Koji Ishii <[email protected]> Cr-Commit-Position: refs/heads/main@{#1281371} -- wpt-commits: 283b5a22e65166a6e779d7c845d625f7214909aa wpt-pr: 45468