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

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

Issue 2327983002: [DevTools] Migrate StylesSidebarPane to TreeOutlineInShadow. (Closed)
Patch Set: filtering, tests Created 4 years, 3 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/elements/styles-1/edit-value-inside-property.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._stylesWidget._sectionBlocks[0].sections [0]; 7 return WebInspector.panels.elements._stylesWidget._sectionBlocks[0].sections [0];
8 } 8 }
9 9
10 InspectorTest.computedStyleWidget = function() 10 InspectorTest.computedStyleWidget = function()
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 } 367 }
368 printStyleSection(section, omitLonghands, includeSelectorGroupMarks) ; 368 printStyleSection(section, omitLonghands, includeSelectorGroupMarks) ;
369 } 369 }
370 } 370 }
371 } 371 }
372 372
373 function printStyleSection(section, omitLonghands, includeSelectorGroupMarks) 373 function printStyleSection(section, omitLonghands, includeSelectorGroupMarks)
374 { 374 {
375 if (!section) 375 if (!section)
376 return; 376 return;
377 InspectorTest.addResult("[expanded] " + (section.element.classList.contains( "no-affect") ? "[no-affect] " : "")); 377 InspectorTest.addResult("[expanded] " + (section.propertiesTreeOutline.eleme nt.classList.contains("no-affect") ? "[no-affect] " : ""));
378 378
379 var medias = section._titleElement.querySelectorAll(".media-list .media"); 379 var medias = section._titleElement.querySelectorAll(".media-list .media");
380 for (var i = 0; i < medias.length; ++i) { 380 for (var i = 0; i < medias.length; ++i) {
381 var media = medias[i]; 381 var media = medias[i];
382 InspectorTest.addResult(media.textContent); 382 InspectorTest.addResult(media.textContent);
383 } 383 }
384 var selector = section._titleElement.querySelector(".selector") || section._ titleElement.querySelector(".keyframe-key"); 384 var selector = section._titleElement.querySelector(".selector") || section._ titleElement.querySelector(".keyframe-key");
385 var selectorText = includeSelectorGroupMarks ? buildMarkedSelectors(selector ) : selector.textContent; 385 var selectorText = includeSelectorGroupMarks ? buildMarkedSelectors(selector ) : selector.textContent;
386 // Dump " {". 386 // Dump " {".
387 selectorText += selector.nextSibling.textContent; 387 selectorText += selector.nextSibling.textContent;
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 InspectorTest.dumpAnimationTimeline = function(timeline) 977 InspectorTest.dumpAnimationTimeline = function(timeline)
978 { 978 {
979 for (var ui of timeline._uiAnimations) { 979 for (var ui of timeline._uiAnimations) {
980 InspectorTest.addResult(ui.animation().type()); 980 InspectorTest.addResult(ui.animation().type());
981 InspectorTest.addResult(ui._nameElement.innerHTML); 981 InspectorTest.addResult(ui._nameElement.innerHTML);
982 InspectorTest.addResult(ui._svg.innerHTML); 982 InspectorTest.addResult(ui._svg.innerHTML);
983 } 983 }
984 } 984 }
985 985
986 }; 986 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698