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

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

Issue 1521323002: Show custom properties in the computed style pane of the inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-variables.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._sectionBlocks[0].se ctions[0]; 7 return WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks[0].se ctions[0];
8 } 8 }
9 9
10 InspectorTest.computedStyleWidget = function() 10 InspectorTest.computedStyleWidget = function()
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 { 275 {
276 return node.parentNode && node.parentNode.getAttribute("id") === parentI d && node.pseudoType() == pseudoType; 276 return node.parentNode && node.parentNode.getAttribute("id") === parentI d && node.pseudoType() == pseudoType;
277 } 277 }
278 } 278 }
279 279
280 InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac k) 280 InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac k)
281 { 281 {
282 callback = InspectorTest.safeWrap(callback); 282 callback = InspectorTest.safeWrap(callback);
283 InspectorTest.selectNodeAndWaitForStyles(idValue, onSidebarRendered); 283 InspectorTest.selectNodeAndWaitForStyles(idValue, onSidebarRendered);
284 284
285 function onSidebarRendered() 285 function onSidebarRendered(node)
286 { 286 {
287 InspectorTest.computedStyleWidget().doUpdate().then(callback); 287 InspectorTest.computedStyleWidget().doUpdate().then(callback.bind(null, node));
288 } 288 }
289 } 289 }
290 290
291 InspectorTest.firstElementsTreeOutline = function() 291 InspectorTest.firstElementsTreeOutline = function()
292 { 292 {
293 return WebInspector.panels.elements._treeOutlines[0]; 293 return WebInspector.panels.elements._treeOutlines[0];
294 } 294 }
295 295
296 InspectorTest.filterMatchedStyles = function(text) 296 InspectorTest.filterMatchedStyles = function(text)
297 { 297 {
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 InspectorTest.dumpAnimationTimeline = function(timeline) 970 InspectorTest.dumpAnimationTimeline = function(timeline)
971 { 971 {
972 for (var ui of timeline._uiAnimations) { 972 for (var ui of timeline._uiAnimations) {
973 InspectorTest.addResult(ui.animation().type()); 973 InspectorTest.addResult(ui.animation().type());
974 InspectorTest.addResult(ui._nameElement.innerHTML); 974 InspectorTest.addResult(ui._nameElement.innerHTML);
975 InspectorTest.addResult(ui._svg.innerHTML); 975 InspectorTest.addResult(ui._svg.innerHTML);
976 } 976 }
977 } 977 }
978 978
979 }; 979 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-variables.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698