Index: LayoutTests/http/tests/inspector/elements-test.js |
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js |
index 311592c9467f56b4fb05967a52817112de9a4180..a4ee3c9966d8b2e36fa0e0277aed8f3172714f7e 100644 |
--- a/LayoutTests/http/tests/inspector/elements-test.js |
+++ b/LayoutTests/http/tests/inspector/elements-test.js |
@@ -235,7 +235,7 @@ InspectorTest.dumpSelectedElementStyles = function(excludeComputed, excludeMatch |
continue; |
if (section.element.previousSibling && section.element.previousSibling.className === "sidebar-separator") |
InspectorTest.addResult("======== " + section.element.previousSibling.textContent + " ========"); |
- InspectorTest.addResult((section.expanded ? "[expanded] " : "[collapsed] ") + (section.noAffect ? "[no-affect] " : "")); |
+ InspectorTest.addResult((section.expanded ? "[expanded] " : "[collapsed] ") + (section.element.classList.contains("no-affect") ? "[no-affect] " : "")); |
var chainEntries = section.titleElement.querySelectorAll(".media-list .media"); |
chainEntries = Array.prototype.slice.call(chainEntries); |
if (section.titleElement.children[1]) |