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">
9 counter-reset: items 0;
13 counter-increment: items 1;
14 list-style-type: none;
17 counter-increment: items 2;
20 content: counters(items, ".") ". ";
21 display: inline-block;
26 content: counters(items, ".", upper-roman) ". ";
29 content: counters(items, ".", upper-latin) ". ";
32 content: counter(items, disc) " ";
36 counter-reset: items 2;
43 background-color: lightgray;
52 background-color: lightgreen;
56 background-color: lightblue;
61 <p>This test passes if you see two rectangles, one green and one blue, as described below.</p>
62 <p>The green rectangle should contain two lists, <em>one numbered</em> and <em>one bulleted</em>. The <strong>numbered list</strong> should be numbered with roman numerals. Inside it, after the second item there should be a two items bulleted list that's indented. After the first bullet there should a three items numbered list. The numbering for this list should use three levels of period separated decimal numbers (<em>e.g.</em> 2.1.1). The <strong>bulleted list</strong> should have 4 items and the same indentation as the roman-numbered list above it.</p>
63 <p>The blue rectangle should contain a four items numbered list. The numbering for this list should use three levels of period separated decimal numbers, starting at 2.2.1.</p>
65 <div class="region" id="r1">
66 <ol class="roman extract1">
67 <li>Roman list, item I</li>
68 <li>Roman list, item II
72 <li>Sub-point 2.1.1</li>
73 <li>Sub-point 2.1.2</li>
80 <li>Roman list, item III</li>
81 <li>Roman list, item IV</li>
83 <ul class="disc extract1">
84 <li>Another bullet 1</li>
85 <li>Another bullet 2</li>
86 <li>Another bullet 3</li>
87 <li>Another bullet 4</li>
90 <div class="region" id="r2">
91 <ol class="slim-wrap">
92 <ol class="slim-wrap">
94 <li>Sub-point 2.2.1</li>
95 <li>Sub-point 2.2.2</li>
96 <li>Sub-point 2.2.3</li>
97 <li>Sub-point 2.2.4</li>