Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: LayoutTests/animations/keyframes-unprefixed-02.html

Issue 23264017: Implement support for unprefixed keyframes rules resolution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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">

Powered by Google App Engine
This is Rietveld 408576698