Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / region-style-crash.html
1 <html>
2 <head>
3 <style>
4 #article1 { -webkit-flow-into: flow1; }
5 #region1 { -webkit-flow-from: flow1; position: absolute; top: 10px; width: 350px; height: 25px;}
6 #p1 { color: #ff0000; }
7 @-webkit-region #region1 {
8     #p1 { color: #008000; }
9 }
10
11 </style>
12 <script src="../../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../../../http/tests/inspector/elements-test.js"></script>
14 <script>
15
16 function test()
17 {
18     InspectorTest.selectNodeAndWaitForStylesWithComputed("p1", dumpAllStyles);
19
20     function dumpAllStyles()
21     {
22         InspectorTest.dumpSelectedElementStyles();
23         InspectorTest.completeTest();
24     }
25 }
26
27 </script>
28 </head>
29
30 <body onload="runTest()">
31 <p>
32 Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
33 </p>
34
35 <div id="article1">
36     <p id="p1">P color styled in region: #008000.</p>
37 </div>
38 <div id="region1" class="regionBox"></div>
39
40 </body>
41 </html>