mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 09:27:00 +02:00
AdoptedStyleSheets.cpp still handled CSS-side fallout from adopted sheet list mutations directly. Move sheet attachment and media-query setup to a CSS invalidation helper, along with rule-cache invalidation. The observable array callbacks continue to validate JS values and same-document construction rules. The helper now owns the CSS work for when a constructed stylesheet becomes visible to, or is removed from, a Document or ShadowRoot.
2.0 KiB
2.0 KiB