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; }
12 <script src="../../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../../../http/tests/inspector/elements-test.js"></script>
18 InspectorTest.selectNodeAndWaitForStylesWithComputed("p1", dumpAllStyles);
20 function dumpAllStyles()
22 InspectorTest.dumpSelectedElementStyles();
23 InspectorTest.completeTest();
30 <body onload="runTest()">
32 Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
36 <p id="p1">P color styled in region: #008000.</p>
38 <div id="region1" class="regionBox"></div>