| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>CSS Test: flow-into with different flows on list items from the s
ame list</title> | |
| 5 <link rel="author" title="Mihai Balan" href="mibalan@adobe.com"> | |
| 6 <link rel="help" href="http://www.w3.org/TR/css3-regions/#properties-and
-rules" /> | |
| 7 <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-
property" /> | |
| 8 <link rel="stylesheet" type="text/css" href="../resources/font-smoothing
-disabler.css"> | |
| 9 <meta name="flags" content=""> | |
| 10 <meta name="assert" content="Test flow-into property can be applied to i
ndividual list items. This test checks that list items from the same list extrac
ted in different named flows preserve their numbering."> | |
| 11 <style> | |
| 12 .extract1 { | |
| 13 -webkit-flow-into: f1; | |
| 14 color: #006400; | |
| 15 } | |
| 16 .extract2 { | |
| 17 -webkit-flow-into: f2; | |
| 18 color: blue; | |
| 19 } | |
| 20 .region { | |
| 21 margin-left: 2em; | |
| 22 float: left; | |
| 23 width: 15em; | |
| 24 height: 10em; | |
| 25 } | |
| 26 #r1 { | |
| 27 -webkit-flow-from: f1; | |
| 28 background-color: lightgreen; | |
| 29 } | |
| 30 #r2 { | |
| 31 -webkit-flow-from: f2; | |
| 32 background-color: lightblue; | |
| 33 } | |
| 34 </style> | |
| 35 </head> | |
| 36 <body> | |
| 37 <p>Test passes if you see two rectangles, one green and one blue, as fol
lows. Each rectangle should contain a numbered list; the numbers should be rende
red outside the rectangle. The items in the first list should be numbered 1, 2 a
nd 5 respectively, while the items in the second list should be numbered 3, 4 an
d 6 respectively.</p> | |
| 38 <ol> | |
| 39 <li class="extract1">List item 1</li> | |
| 40 <li class="extract1">List item 2</li> | |
| 41 <li class="extract2">List item 3</li> | |
| 42 <li class="extract2">List item 4</li> | |
| 43 <li class="extract1">List item 5</li> | |
| 44 <li class="extract2">List item 6</li> | |
| 45 </ol> | |
| 46 <div class="region" id="r1"></div> | |
| 47 <div class="region" id="r2"></div> | |
| 48 </body> | |
| 49 </html> | |
| OLD | NEW |