| Index: third_party/WebKit/LayoutTests/animations/3d/replace-filling-transform.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/3d/replace-filling-transform.html b/third_party/WebKit/LayoutTests/animations/3d/replace-filling-transform.html
|
| index d3fec93ee7e03c258a1051939dc89ec317afddc4..b058d8c21a5388c043b151fd6d845c99746edd98 100644
|
| --- a/third_party/WebKit/LayoutTests/animations/3d/replace-filling-transform.html
|
| +++ b/third_party/WebKit/LayoutTests/animations/3d/replace-filling-transform.html
|
| @@ -7,7 +7,7 @@
|
| height: 100px;
|
| width: 100px;
|
| background-color: green;
|
| - -webkit-animation: anim1 0.1s ease 0s forwards;
|
| + animation: anim1 0.1s ease 0s forwards;
|
| }
|
|
|
| #correctposition {
|
| @@ -18,7 +18,7 @@
|
| transform: translate3d(50px, 200px, 0);
|
| }
|
|
|
| - @-webkit-keyframes anim1 {
|
| + @keyframes anim1 {
|
| from {
|
| transform: translate3d(100px, 0, 0);
|
| }
|
| @@ -27,7 +27,7 @@
|
| }
|
| }
|
|
|
| - @-webkit-keyframes anim2 {
|
| + @keyframes anim2 {
|
| from {
|
| transform: translate3d(50px, 0, 0);
|
| }
|
| @@ -44,7 +44,7 @@
|
| function testState()
|
| {
|
| var result = document.getElementById("result");
|
| - var computedValue = window.getComputedStyle(box).webkitTransform;
|
| + var computedValue = window.getComputedStyle(box).transform;
|
|
|
| if (computedValue == expectedValue)
|
| result.innerHTML = "PASS - final state was " + expectedValue;
|
| @@ -58,17 +58,17 @@
|
| function swapAnim()
|
| {
|
| // remove this listener
|
| - box.removeEventListener("webkitAnimationEnd", swapAnim);
|
| + box.removeEventListener("animationend", swapAnim);
|
| // add the test listener
|
| - box.addEventListener("webkitAnimationEnd", testState, false);
|
| + box.addEventListener("animationend", testState, false);
|
| // change the animation
|
| - box.style.webkitAnimation = "anim2 0.1s ease 0s forwards";
|
| + box.style.animation = "anim2 0.1s ease 0s forwards";
|
| }
|
|
|
| function setup()
|
| {
|
| box = document.getElementById("box");
|
| - document.addEventListener("webkitAnimationEnd", swapAnim, false);
|
| + document.addEventListener("animationend", swapAnim, false);
|
| }
|
|
|
| if (window.testRunner) {
|
|
|