Index: LayoutTests/animations/keyframes-unprefixed-02.html |
diff --git a/LayoutTests/animations/duplicated-keyframes-name.html b/LayoutTests/animations/keyframes-unprefixed-02.html |
similarity index 68% |
copy from LayoutTests/animations/duplicated-keyframes-name.html |
copy to LayoutTests/animations/keyframes-unprefixed-02.html |
index 1ab642c159289d78f96f5d9387f6e7d07d59a9aa..78f1ee78f5f0c0b0a02588c73a3340a3dba0a02c 100644 |
--- a/LayoutTests/animations/duplicated-keyframes-name.html |
+++ b/LayoutTests/animations/keyframes-unprefixed-02.html |
@@ -13,20 +13,17 @@ |
height: 100px; |
width: 100px; |
background-color: blue; |
- -webkit-animation-duration: 1s; |
- -webkit-animation-timing-function: linear; |
- -webkit-animation-name: anim; |
- -webkit-animation-fill-mode: forwards; |
+ animation-duration: 1s; |
+ animation-timing-function: linear; |
+ animation-name: anim; |
+ animation-fill-mode: forwards; |
} |
@-webkit-keyframes anim { |
- from { left: 50px; } |
- to { left: 100px; } |
- } |
- @-webkit-keyframes irrelevant { |
- from { left: 150px; } |
- to { left: 2500px; } |
+ from { left: 200px; } |
+ to { left: 700px; } |
} |
- @-webkit-keyframes anim { |
+ |
+ @keyframes anim { |
from { left: 200px; } |
to { left: 300px; } |
} |
@@ -44,7 +41,7 @@ |
</script> |
</head> |
<body> |
-This test verifies that the last @keyframes rule with a given name is the one used. |
+This test verifies that the unprefixed @keyframes rule is correctly parsed and override the prefixed keyframe defined before. |
<div id="box"> |
</div> |
<div id="result"> |