mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 09:27:00 +02:00
Document.cpp still knew how style changes on a slot propagate to assigned light-DOM nodes. Move that flat-tree inheritance invalidation into CSS::Invalidation::SlotInvalidator. The style update walk continues to decide when an element's style changed. The helper now owns the ::slotted() consequence of dirtying assigned slottables for a changed slot.
1.2 KiB
1.2 KiB