mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
@keyframes rules only affect elements that already reference the named animation. Instead of falling back to a whole-subtree invalidation when a sheet contains @keyframes, walk the sheet's @keyframes rules in StyleSheetList::add_sheet/remove_sheet and reuse the existing per-rule helper to dirty just the elements that reference each animation-name.
13 KiB
13 KiB