mirror of
https://github.com/servo/servo
synced 2026-05-13 10:27:03 +02:00
Instead of keeping dirty box tree nodes around after the damage traversal, clear them readily (like `display: none` nodes). This simplifies the logic during box tree reconstruction and also prepares the damage traversal for future work. In addition, restructure the logic of the damage traversal to make it a bit easier to follow. Testing: This shouldn't change observable behavior so should be covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Luke Warlow <lwarlow@igalia.com>