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
.computedStyleWidget().doUpdate().then(step2
);
37 InspectorTest
.addResult("==== All styles (computed should be there) ====");
38 InspectorTest
.dumpSelectedElementStyles(false, false);
39 InspectorTest
.completeTest();
45 <body onload=
"runTest()">
47 Tests that computed styles expand and allow tracing to style rules.