| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>CSS Reftest Reference</title> | |
| 5 <link rel="author" title="Mihai Balan" href="mibalan@adobe.com"> | |
| 6 <link rel="stylesheet" type="text/css" href="../resources/font-smoothing
-disabler.css"> | |
| 7 <style> | |
| 8 .region { | |
| 9 margin-left: 2em; | |
| 10 float: left; | |
| 11 width: 15em; | |
| 12 height: 10em; | |
| 13 } | |
| 14 #r1 { | |
| 15 color: #006400; | |
| 16 background-color: lightgreen; | |
| 17 } | |
| 18 #r2 { | |
| 19 color: blue; | |
| 20 background-color: lightblue; | |
| 21 } | |
| 22 | |
| 23 .region > ul, | |
| 24 .region > ol { | |
| 25 padding: 0; | |
| 26 margin: 0; | |
| 27 } | |
| 28 | |
| 29 /* We use visibility:hidden and height:0 to visually skip list items | |
| 30 while forcing the counter to increse its value. */ | |
| 31 .hide { | |
| 32 visibility: hidden; | |
| 33 height: 0; | |
| 34 } | |
| 35 </style> | |
| 36 </head> | |
| 37 <body> | |
| 38 <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> | |
| 39 <div class="region" id="r1"> | |
| 40 <ol> | |
| 41 <li>List item 1</li> | |
| 42 <li>List item 2</li> | |
| 43 <li class="hide"></li> | |
| 44 <li class="hide"></li> | |
| 45 <li>List item 5</li> | |
| 46 </ol> | |
| 47 </div> | |
| 48 <div class="region" id="r2"> | |
| 49 <ol start="3"> | |
| 50 <li>List item 3</li> | |
| 51 <li>List item 4</li> | |
| 52 <li class="hide"></li> | |
| 53 <li>List item 6</li> | |
| 54 </ol> | |
| 55 </div> | |
| 56 </body> | |
| 57 </html> | |
| OLD | NEW |