Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / selector-list.html
1 <html>
2 <head>
3 <style>
4 #inspected{
5 }
6
7 #InSpEcTeD {
8 }
9
10 /* */#inspected/* */ {
11 }
12
13 /* 
14  */ FOO/*Single-line 1*/ bAr,/* Single-line 2*/#inspected/*
15     Multiline comment
16 */ ,MOO>BAR, /*1*/htML /*2
17 */div/*3*/,/**/Foo~/**C*/Moo,/**/MOO /* Comment
18  */ 
19 {
20   color: green;
21 }
22
23 </style>
24 <script src="../../../http/tests/inspector/inspector-test.js"></script>
25 <script src="../../../http/tests/inspector/elements-test.js"></script>
26 <script>
27
28 function test()
29 {
30     WebInspector.showPanel("elements");
31     InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
32
33     function step1()
34     {
35         InspectorTest.dumpSelectedElementStyles(true);
36         InspectorTest.completeTest();
37     }
38 }
39
40 </script>
41 </head>
42
43 <body onload="runTest()">
44 <p>
45 Tests representation of selector lists in the protocol. <a href="https://bugs.webkit.org/show_bug.cgi?id=103118">Bug 103118</a>.
46 </p>
47
48 <div id="inspected">Text</div>
49
50 </body>
51 </html>