Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / elements-delete-inline-style.html
blob4cf6c9255cd1f3f869affd2c267c577608392c96
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script>
7 function test()
9 InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
11 function step1(node)
13 InspectorTest.addResult("Before style property removal:");
14 InspectorTest.dumpSelectedElementStyles(true);
15 node.removeAttribute("style");
16 InspectorTest.waitForStyles("inspected", step2);
19 function step2()
21 InspectorTest.addResult("After style property removal:");
22 InspectorTest.dumpSelectedElementStyles(true);
23 InspectorTest.completeTest();
27 </script>
28 </head>
29 <body onload="runTest()">
30 <p>
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>
32 </p>
34 <div id="inspected" style="color: red"></div>
35 </body>
36 </html>