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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html

Issue 2513343006: CSS Animations: Remove unnecessary webkit prefixes from layout tests (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html b/third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html
index 96a1a99ef7dab0ecfa78e8855d12757907c1d10a..9a40512b8a4d35691079b0e8e281b657ddab3bd1 100644
--- a/third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html
+++ b/third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html
@@ -3,7 +3,7 @@
<html lang="en">
<head>
- <title>Test hit testing of -webkit-transform property while animating</title>
+ <title>Test hit testing of transform property while animating</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
#target {
@@ -12,10 +12,10 @@
height: 200px;
width: 200px;
background-color: red;
- -webkit-animation-duration: 4s;
- -webkit-animation-timing-function: linear;
+ animation-duration: 4s;
+ animation-timing-function: linear;
}
- @-webkit-keyframes anim {
+ @keyframes anim {
from { transform: translate(100px); }
to { transform: translate(300px); }
}
@@ -70,14 +70,14 @@
testRunner.waitUntilDone();
}
- document.getElementById("target").style.webkitAnimationName = "anim";
- document.addEventListener('webkitAnimationStart', doTest);
+ document.getElementById("target").style.animationName = "anim";
+ document.addEventListener('animationstart', doTest);
}
</script>
</head>
<body onload="startTest()">
<div>
- This test starts an animation of the '-webkit-transform' property and then does elementFromPoint calls
+ This test starts an animation of the 'transform' property and then does elementFromPoint calls
at the shown yellow dots to see if hit testing works
</div>
<div id="target"></div>

Powered by Google App Engine
This is Rietveld 408576698