http://www.w3.org/TR/css3-animations/ specifies that if there are multiple @keyframes rules with the same name, the last one should be the one used. Currently the first one is used.
Created attachment 116569 [details] Patch
Comment on attachment 116569 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116569&action=review > LayoutTests/animations/duplicated-keyframes-name.html:31 > + -webkit-animation-name: "anim"; > + } > + @-webkit-keyframes "anim" { > + from { left: 50px; } > + to { left: 100px; } > + } > + @-webkit-keyframes "irrelevant" { > + from { left: 150px; } > + to { left: 2500px; } > + } > + @-webkit-keyframes "anim" { > + from { left: 200px; } > + to { left: 300px; } > + } Keyframe names are IDENT, not STRING, so should not be quoted.
Committed r101321: <http://trac.webkit.org/changeset/101321>