3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/elements-test.js"></script>
9 WebInspector.showPanel("elements");
11 InspectorTest.selectNodeAndWaitForStyles("inspected1", dumpStylesFirst);
13 function dumpStylesFirst()
15 InspectorTest.dumpSelectedElementStyles(true);
16 InspectorTest.selectNodeAndWaitForStyles("inspected2", dumpStylesSecond);
19 function dumpStylesSecond()
21 InspectorTest.dumpSelectedElementStyles(true);
22 InspectorTest.completeTest();
28 <body onload="runTest()">
30 Tests that CSSParser correctly parses declarations with unterminated comments.
32 <div id="inspected1" style="color: red /* foo: bar;"></div>
33 <div id="inspected2" style="color: green; /* foo: bar;"></div>