Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / console / console-css-unterminated-comment.html
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5
6 <style>/* unterminated comment </style>
7 <style>/*</style>
8
9 <style>/* terminated comment */</style>
10 <style>/* terminated comment *//*</style>
11
12 <script>
13
14 function test()
15 {
16     WebInspector.consoleModel.messages().forEach(function(message)
17     {
18         InspectorTest.addResult(message.message + " (line " + message.line + ")");
19     });
20
21     InspectorTest.completeTest();
22 }
23
24 </script>
25 </head>
26
27 <body onload="runTest()">
28 <p id="p">Tests that unterminated comment in CSS generates a warning.</p>
29 </body>
30 </html>