Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / styles-2 / region-style-crash.html
blob385e7b028bac7dcceaef696e009b2c5b6beaaf2c
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; }
11 </style>
12 <script src="../../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../../../http/tests/inspector/elements-test.js"></script>
14 <script>
16 function test()
18 InspectorTest.selectNodeAndWaitForStylesWithComputed("p1", dumpAllStyles);
20 function dumpAllStyles()
22 InspectorTest.dumpSelectedElementStyles();
23 InspectorTest.completeTest();
27 </script>
28 </head>
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>
35 <div id="article1">
36 <p id="p1">P color styled in region: #008000.</p>
37 </div>
38 <div id="region1" class="regionBox"></div>
40 </body>
41 </html>