mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Handle inline stylesheet @keyframes insertions without falling back to broad owner invalidation. Recompute only elements whose computed animation-name already references the inserted keyframes name. Document-scoped insertions still walk the shadow-including tree so existing shadow trees pick up inherited animations, and shadow-root stylesheets fan out through the host root so :host combinators can refresh host-side consumers as well. Also introduce the shared ShadowRootStylesheetEffects analysis so later stylesheet mutation paths can reuse the same per-scope escape classification.
7 lines
210 B
Plaintext
7 lines
210 B
Plaintext
slotted before rule: rgb(0, 0, 0)
|
|
slotted after rule: rgb(0, 0, 255)
|
|
inherited before slot rule: rgb(0, 0, 0)
|
|
inherited after slot rule: rgb(255, 0, 0)
|
|
opacity before keyframes: 1
|
|
opacity after keyframes: 0.25
|