1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 07:15:07 +00:00
serenity/Tests/LibWeb/Layout
Andreas Kling 6d7a2f5cc9 LibWeb: Prune old paintable pointers from layout tree after relayout
When text paintables shift around in the tree due to line wrapping,
we may end up in a situation where some text node does not generate
a paintable (due to being all whitespace, for example), even though
in the previous layout pass, it *did* generate a paintable.

To prevent holding on to old paintables in such cases, we now do a
pass in LayoutState::commit() where we explicitly detach all old
paintables from the layout tree.
2023-08-29 17:05:16 +02:00
..
expected LibWeb: Prune old paintable pointers from layout tree after relayout 2023-08-29 17:05:16 +02:00
input LibWeb: Prune old paintable pointers from layout tree after relayout 2023-08-29 17:05:16 +02:00