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 8489d560e64b57ccbc628eb89b31d565f26310ef..c5a80b3bde888706e850b618fb68587ccf46a4e8 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]) |