| 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 #list1 ol, ul { | |
| 9 counter-reset: items 0; | |
| 10 padding-left: 2em; | |
| 11 } | |
| 12 li { | |
| 13 counter-increment: items 1; | |
| 14 list-style-type: none; | |
| 15 } | |
| 16 .twice>li { | |
| 17 counter-increment: items 2; | |
| 18 } | |
| 19 li::before { | |
| 20 content: counters(items, ".") ". "; | |
| 21 display: inline-block; | |
| 22 margin-right: .3em; | |
| 23 text-align: right; | |
| 24 } | |
| 25 .roman>li::before { | |
| 26 content: counters(items, ".", upper-roman) ". "; | |
| 27 } | |
| 28 .disc>li::before { | |
| 29 content: counter(items, disc) " "; | |
| 30 } | |
| 31 | |
| 32 .region { | |
| 33 background-color: lightgray; | |
| 34 margin: 1em; | |
| 35 float: left; | |
| 36 width: 17em; | |
| 37 height: 15em; | |
| 38 } | |
| 39 </style> | |
| 40 </head> | |
| 41 <body> | |
| 42 <p>This test passes if you see a gray rectangle with a list containing s
ublists as follows: the outermost list items should be numbered using roman nume
rals; the second-level list should be a bullet list with two items; the innermos
t list should be numbered using three levels of decimal numbers (<em>e.g.</em> 2
.1.1).</p> | |
| 43 <div class="region" id="r1"> | |
| 44 <ol class="roman" id="list1"> | |
| 45 <li>Roman list, item I</li> | |
| 46 <li>Roman list, item II | |
| 47 <ul class="disc"> | |
| 48 <li>Bullet 1 | |
| 49 <ol> | |
| 50 <li>Sub-point 2.1.1</li> | |
| 51 <li>Sub-point 2.1.2</li> | |
| 52 </ol> | |
| 53 </li> | |
| 54 <li>Bullet 2 | |
| 55 <ol> | |
| 56 <li>Sub-point 2.2.1</li> | |
| 57 <li>Sub-point 2.2.2</li> | |
| 58 <li>Sub-point 2.2.3</li> | |
| 59 <li>Sub-point 2.2.4</li> | |
| 60 </ol> | |
| 61 </li> | |
| 62 </ul> | |
| 63 </li> | |
| 64 <li>Roman list, item III</li> | |
| 65 <li>Roman list, item IV</li> | |
| 66 </ol> | |
| 67 </div> | |
| 68 </body> | |
| 69 </html> | |
| OLD | NEW |