mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
Document.cpp contained the CSS rule-cache matching used to decide which elements need style updates when hover, focus, or target state changes. Move that logic into CSS::Invalidation::PseudoClassInvalidator. Document still owns the current state slots and chooses when a state transition happens. The helper now owns the selector matching and recursive invalidation pass for those pseudo-class transitions.