mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
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.
4 lines
72 B
Plaintext
4 lines
72 B
Plaintext
div#a p: rgb(0, 128, 0)
|
|
div#b p: rgb(0, 128, 0)
|
|
div#c p: rgb(0, 128, 0)
|