ladybird/Tests/LibWeb/Text/expected/css/pseudo-style-invalidation-after-node-removal.txt
Jelle Raaijmakers c56f7d9cde LibWeb: Invalidate sibling style for :only-child and :*-of-type
After f7a3f785a8, sibling nodes' styles
were no longer invalidated after a node was removed. This reuses the
flag for `:first-child` and `:last-child` to indicate that a node's
style might be affected by any structural change in its siblings.

Fixes #4631.

Resolves the `:only-child` ACID3 failure as documented in #1231.
2025-05-07 14:55:12 +03:00

3 lines
72 B
Text

div#a p: rgb(0, 128, 0)
div#b p: rgb(0, 128, 0)
div#c p: rgb(0, 128, 0)