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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animation-transition-collision-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
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <style>
6 @keyframes test {
7 from {
8 /* These properties have -webkit-* equivalents. */
9 background-size: 10px 10px;
10 box-shadow: 10px 10px green;
11 perspective: 10px;
12 transform: translate(10px, 10px);
13 perspective-origin: 10px 10px;
14 transform-origin: 10px 10px;
15 }
16 }
17 #target {
18 animation: test 1s;
19 transition: all 1s;
20 }
21 </style>
22 <div id="target"></div>
23 <script>
24 'use strict';
25 async_test(t => {
26 let frameWait = 5;
27 function frame() {
28 frameWait--;
29 if (frameWait) {
30 requestAnimationFrame(frame);
31 } else {
32 t.done();
33 }
34 }
35 requestAnimationFrame(frame);
36 }, 'Don\'t crash when animating transitioned properties');
37 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698