mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00: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.
3 lines
72 B
Text
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)
|