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
);
13 InspectorTest
.addResult("Before style property removal:");
14 InspectorTest
.dumpSelectedElementStyles(true);
15 node
.removeAttribute("style");
16 InspectorTest
.waitForStyles("inspected", step2
);
21 InspectorTest
.addResult("After style property removal:");
22 InspectorTest
.dumpSelectedElementStyles(true);
23 InspectorTest
.completeTest();
29 <body onload=
"runTest()">
31 Tests that the
"style" attribute removal results in the Styles sidebar pane update (not a crash).
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=51478">Bug
51478</a>
34 <div id=
"inspected" style=
"color: red"></div>