3 <link rel=
"import" href=
"../styles/resources/imported-stylesheet.html"/>
4 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
5 <script src=
"../../../http/tests/inspector/elements-test.js"></script>
10 InspectorTest
.selectNodeAndWaitForStyles("square", step1
);
14 InspectorTest
.addResult("Rules before toggling:");
15 InspectorTest
.dumpSelectedElementStyles(true, false, true);
16 InspectorTest
.waitForStyleApplied(step2
);
17 InspectorTest
.toggleMatchedStyleProperty("background-color", false);
22 InspectorTest
.addResult("Rules after toggling:");
23 InspectorTest
.dumpSelectedElementStyles(true, false, true);
24 InspectorTest
.completeTest();
30 <body onload=
"runTest()">
31 <p>Tests that rules from imported stylesheets are correctly shown and are editable in inspector.
</p>
32 <div id=
"square" class=
"square"></div>