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

Side by Side Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 967213002: Devtools Animations: Represent delay and end-delay on the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Round values Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/animation-timeline.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 var initialize_ElementTest = function() { 1 var initialize_ElementTest = function() {
2 2
3 InspectorTest.preloadPanel("elements"); 3 InspectorTest.preloadPanel("elements");
4 4
5 InspectorTest.inlineStyleSection = function() 5 InspectorTest.inlineStyleSection = function()
6 { 6 {
7 return WebInspector.panels.elements.sidebarPanes.styles.sections[0][0]; 7 return WebInspector.panels.elements.sidebarPanes.styles.sections[0][0];
8 } 8 }
9 9
10 InspectorTest.computedStyleSection = function() 10 InspectorTest.computedStyleSection = function()
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 InspectorTest.DOMAgent.getHighlightObjectForTest(node.id, report); 869 InspectorTest.DOMAgent.getHighlightObjectForTest(node.id, report);
870 } 870 }
871 871
872 function report(error, result) 872 function report(error, result)
873 { 873 {
874 InspectorTest.addResult(idValue + JSON.stringify(result, null, 2)); 874 InspectorTest.addResult(idValue + JSON.stringify(result, null, 2));
875 callback(); 875 callback();
876 } 876 }
877 } 877 }
878 878
879 InspectorTest.waitForAnimationAdded = function(callback)
880 {
881 InspectorTest.addSniffer(WebInspector.AnimationTimeline.prototype, "addAnima tion", callback);
882 }
883
884 InspectorTest.dumpAnimationTimeline = function()
885 {
886 var timeline = WebInspector.panels.elements.sidebarPanes.animations._timelin e;
887 // Dump timeline
888 for (var nodeUI of timeline._nodesMap.values()) {
889 for (nodeRow of nodeUI._rows) {
890 for (var ui of nodeRow.animations) {
891 InspectorTest.addResult(ui._svg.innerHTML);
892 }
893 }
894 }
895 }
896
879 }; 897 };
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/animation-timeline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698