mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 08:44:58 +00:00
![]() 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. |
||
---|---|---|
.. | ||
disconnect.html | ||
notify-if-node-is-removed.html | ||
notify-if-parent-is-removed.html | ||
observe-border-box.html | ||
observe.html | ||
unobserve.html |