6 background-color: green;
11 background-color: black;
20 <script src="../../../http/tests/inspector/inspector-test.js"></script>
21 <script src="../../../http/tests/inspector/elements-test.js"></script>
26 InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
30 InspectorTest.addResult("==== All styles (should be no computed) ====");
31 InspectorTest.dumpSelectedElementStyles(false, false);
32 InspectorTest.addSniffer(WebInspector.ComputedStyleSidebarPane.prototype, "onContentReady", step2);
33 WebInspector.panels.elements.sidebarPanes.computedStyle.expand();
38 InspectorTest.addResult("==== All styles (computed should be there) ====");
39 InspectorTest.dumpSelectedElementStyles(false, false);
40 InspectorTest.completeTest();
46 <body onload="runTest()">
48 Tests that computed styles expand and allow tracing to style rules.