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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animation-hit-test.html

Issue 2513343006: CSS Animations: Remove unnecessary webkit prefixes from layout tests (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd"> 2 "http://www.w3.org/TR/html4/loose.dtd">
3 3
4 <html lang="en"> 4 <html lang="en">
5 <head> 5 <head>
6 <title>Test hit testing of left property while animating</title> 6 <title>Test hit testing of left property while animating</title>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8 <style> 8 <style>
9 #target { 9 #target {
10 position: absolute; 10 position: absolute;
11 left: 100px; 11 left: 100px;
12 height: 200px; 12 height: 200px;
13 width: 200px; 13 width: 200px;
14 background-color: red; 14 background-color: red;
15 -webkit-animation-duration: 4s; 15 animation-duration: 4s;
16 -webkit-animation-timing-function: linear; 16 animation-timing-function: linear;
17 } 17 }
18 @-webkit-keyframes anim { 18 @keyframes anim {
19 from { left: 100px; } 19 from { left: 100px; }
20 to { left: 300px; } 20 to { left: 300px; }
21 } 21 }
22 22
23 .dot { 23 .dot {
24 width: 10px; 24 width: 10px;
25 height: 10px; 25 height: 10px;
26 top: 100px; 26 top: 100px;
27 background-color: yellow; 27 background-color: yellow;
28 position:absolute; 28 position:absolute;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 } 64 }
65 65
66 function startTest() 66 function startTest()
67 { 67 {
68 if (window.testRunner) { 68 if (window.testRunner) {
69 testRunner.dumpAsText(); 69 testRunner.dumpAsText();
70 testRunner.waitUntilDone(); 70 testRunner.waitUntilDone();
71 } 71 }
72 72
73 document.getElementById("target").style.webkitAnimationName = "anim" ; 73 document.getElementById("target").style.animationName = "anim";
74 document.addEventListener('webkitAnimationStart', doTest); 74 document.addEventListener('animationstart', doTest);
75 } 75 }
76 </script> 76 </script>
77 </head> 77 </head>
78 <body onload="startTest()"> 78 <body onload="startTest()">
79 <div> 79 <div>
80 This test starts an animation of the 'left' property and then does eleme ntFromPoint calls 80 This test starts an animation of the 'left' property and then does eleme ntFromPoint calls
81 at the shown yellow dots to see if hit testing works 81 at the shown yellow dots to see if hit testing works
82 </div> 82 </div>
83 <div id="target"></div> 83 <div id="target"></div>
84 <div class="dot" style="left:150px"></div> 84 <div class="dot" style="left:150px"></div>
85 <div class="dot" style="left:300px"></div> 85 <div class="dot" style="left:300px"></div>
86 <div class="dot" style="left:450px"></div> 86 <div class="dot" style="left:450px"></div>
87 <div id="result" style="position:absolute; top:250px"></div> 87 <div id="result" style="position:absolute; top:250px"></div>
88 </body> 88 </body>
89 </html> 89 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/animation-hit-test-transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698