mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
When checking whether an early return is possible because some ancestor already has the whole subtree invalidation flag set, the check should begin with the current node's parent rather than with the node itself. Otherwise, if a node already has the whole subtree invalidation flag set and is subsequently invalidated for the reason `NodeInsertBefore` or `NodeRemove`, we will skip the sibling invalidation required for these operations This fix is required for optimizations in subsequent commits.