3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/elements-test.js"></script>
9 InspectorTest
.selectNodeAndWaitForStyles("inspected", step1
);
16 InspectorTest
.dumpSelectedElementStyles(true, true, true);
17 treeElement
= InspectorTest
.getElementStylePropertyTreeItem("color");
19 treeElement
.startEditing();
20 treeElement
.nameElement
.textContent
= "background";
22 InspectorTest
.selectNodeAndWaitForStyles("other", step2
);
27 InspectorTest
.dumpSelectedElementStyles(true, true, true);
28 InspectorTest
.selectNodeAndWaitForStyles("inspected", step3
);
33 InspectorTest
.dumpSelectedElementStyles(true, true, true);
34 InspectorTest
.completeTest();
41 <body onload=
"runTest()">
43 Tests that changing selected node while editing style does update styles sidebar.
46 <div id=
"inspected" style=
"color: red">Text
</div>
47 <div id=
"other" style=
"color: blue"></div>