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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/stability/animation-on-inline-crash.html

Issue 2966953002: Move animations crash tests to subdirectory (Closed)
Patch Set: Rename crash-tests/ to stability/ Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 <style> 1 <style>
2 .box { 2 .box {
3 position: relative; 3 position: relative;
4 animation-delay: 5ms; 4 animation-delay: 5ms;
5 animation-name: anim; 5 animation-name: anim;
6 } 6 }
7 @keyframes anim { 7 @keyframes anim {
8 from { transform: translateX(10px); } 8 from { transform: translateX(10px); }
9 } 9 }
10 </style> 10 </style>
11 <script type="text/javascript" charset="utf-8"> 11 <script type="text/javascript" charset="utf-8">
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 testRunner.waitUntilDone(); 14 testRunner.waitUntilDone();
15 } 15 }
16 16
17 function waitForAnimation() 17 function waitForAnimation()
18 { 18 {
19 window.setTimeout(function() { 19 window.setTimeout(function() {
20 if (window.testRunner) 20 if (window.testRunner)
21 testRunner.notifyDone(); 21 testRunner.notifyDone();
22 }, 50); 22 }, 50);
23 } 23 }
24 window.addEventListener('load', waitForAnimation, false); 24 window.addEventListener('load', waitForAnimation, false);
25 </script> 25 </script>
26 <p>Test passes if it does not crash.</p> 26 <p>Test passes if it does not crash.</p>
27 <span class="box">Hello world</span> 27 <span class="box">Hello world</span>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698