mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
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.
4 lines
84 B
Plaintext
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)
|