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

Side by Side Diff: third_party/WebKit/LayoutTests/transitions/hang-with-bad-transition-list.html

Issue 2521493002: CSS Transitions: Reduce usage of -webkit prefix in 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 span { 4 span {
5 background: blue; 5 background: blue;
6 color: white; 6 color: white;
7 opacity: .666; 7 opacity: .666;
8 -webkit-transition: opacity, .1s, .1s ease-out; 8 transition: opacity, .1s, .1s ease-out;
9 } 9 }
10 </style> 10 </style>
11 <script> 11 <script>
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 testRunner.waitUntilDone(); 14 testRunner.waitUntilDone();
15 } 15 }
16 onload = function() { 16 onload = function() {
17 var doomSpan = document.getElementById("doomSpan"); 17 var doomSpan = document.getElementById("doomSpan");
18 doomSpan.style.opacity=1; 18 doomSpan.style.opacity=1;
19 if (window.testRunner) 19 if (window.testRunner)
20 doomSpan.addEventListener('webkitTransitionEnd', function() { testRu nner.notifyDone(); }); 20 doomSpan.addEventListener('transitionend', function() { testRunner.n otifyDone(); });
21 } 21 }
22 </script> 22 </script>
23 </head> 23 </head>
24 <body> 24 <body>
25 25
26 <span id="doomSpan">PASS: If you can see this then we didn't hang!!!</span> 26 <span id="doomSpan">PASS: If you can see this then we didn't hang!!!</span>
27 27
28 <div id="result"> 28 <div id="result">
29 </div> 29 </div>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698