1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 08:34:59 +00:00
serenity/Tests/LibWeb/Text/expected/ResizeObserver
Aliaksandr Kalenik 036cd9b2dd LibWeb: Null layout and paintable pointers of removed DOM::Node
When a node is removed from the DOM tree, its paintable needs to be
removed to ensure that it is not used to obtain sizes that are no
longer valid.

This change enables the ResizeObserver to send a notification if a node
is removed, as it should, because a removed node now has a size of zero

It should be okay to nullify pointers without concerning
parent/sibling/child relationships because the layout and paintable
trees will be rebuilt following any DOM mutation anyway.
2024-02-20 10:55:10 +01:00
..
disconnect.txt LibWeb: Implement ResizeObserver::disconnect() 2024-02-20 10:55:10 +01:00
notify-if-node-is-removed.txt LibWeb: Null layout and paintable pointers of removed DOM::Node 2024-02-20 10:55:10 +01:00
notify-if-parent-is-removed.txt LibWeb: Null layout and paintable pointers of removed DOM::Node 2024-02-20 10:55:10 +01:00
observe-border-box.txt LibWeb: Implement gathering and broadcasting of resize observations 2024-02-20 10:55:10 +01:00
observe.txt LibWeb: Implement gathering and broadcasting of resize observations 2024-02-20 10:55:10 +01:00
unobserve.txt LibWeb: Implement ResizeObserver::unobserve() 2024-02-20 10:55:10 +01:00