3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/elements-test.js"></script>
10 InspectorTest.selectNodeAndWaitForStyles("inspected1", dumpStylesFirst);
12 function dumpStylesFirst()
14 InspectorTest.dumpSelectedElementStyles(true);
15 InspectorTest.selectNodeAndWaitForStyles("inspected2", dumpStylesSecond);
18 function dumpStylesSecond()
20 InspectorTest.dumpSelectedElementStyles(true);
21 InspectorTest.completeTest();
27 <body onload="runTest()">
29 Tests that CSSParser correctly parses declarations with unterminated comments.
31 <div id="inspected1" style="color: red /* foo: bar;"></div>
32 <div id="inspected2" style="color: green; /* foo: bar;"></div>