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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/animation/animation-transition-setTiming-crash.html

Issue 2732223002: Update DevTools animation timeline to handle TransitionKeyframeEffectModels (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/animation/animation-transition-setTiming-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 #node {
5 transition: left 100s;
6 left: 0px;
7 }
8 </style>
9 <script src="../../http/tests/inspector/inspector-test.js"></script>
10 <script src="../../http/tests/inspector/elements-test.js"></script>
11 <script>
12 function startCSSTransition() {
13 node.style.left = '100px';
samli 2017/03/07 17:54:25 Nit: double quotes "100px"
14 }
15
16 var initialize_Animations = function() {
17 InspectorTest.preloadModule("animation");
18 }
19
20 function test() {
21 UI.viewManager.showView("animations");
22 var timeline = self.runtime.sharedInstance(Animation.AnimationTimeline);
23 InspectorTest.evaluateInPage("startCSSTransition()");
24 InspectorTest.waitForAnimationAdded(animationAdded);
25 function animationAdded(group) {
26 group.animations()[0].setTiming(1, 0);
27 InspectorTest.completeTest();
28 }
29 }
30
31 </script>
32 </head>
33
34 <body onload="runTest()">
35 <p>
36 This test passes if it does not crash.
37 </p>
38
39 <div id="node"></div>
40
41 </body>
42 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/animation/animation-transition-setTiming-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698