Files
ladybird/Tests/LibWeb/Text/expected/css/animation-in-shadow-dom.txt
Andreas Kling 6d6e15f012 LibWeb: Look up @keyframes rules from shadow root stylesheets
When processing CSS animations, we were only looking up @keyframes
rules from the document-level rule cache, passing nullptr for the
shadow root parameter. This meant that @keyframes defined inside
shadow DOM <style> elements were never found, and animations
referencing them would silently have no keyframes.

Fix this by first checking the element's containing shadow root for
@keyframes rules, then falling back to the document-level rules.
2026-03-21 23:16:32 -05:00

4 lines
84 B
Plaintext

animations: 1
at 0.25: matrix(0, 1, -1, 0, 0, 0)
at 0.5: matrix(-1, 0, 0, -1, 0, 0)