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">
13 list-style-type: none;
16 counter-reset: part 0;
19 counter-increment: part;
22 content: counter(part, upper-roman) " ";
26 counter-reset: chapter 0;
29 counter-increment: chapter;
31 ol.chapter>li::before {
32 content: counter(chapter, decimal) ". ";
35 counter-reset: section 0;
38 counter-increment: section;
40 ol.section>li::before {
41 content: counter(part, upper-roman) "." counter(chapter, decimal) "-" counter(section, lower-latin) " ";
44 /*Extracted content setup*/
45 ol.part1-chap3-section {
46 counter-reset: part 1 chapter 3;
49 counter-reset: part 3;
57 background-color: lightgray;
66 <p>This test passes if you see two gray rectangles, as described below.</p>
67 <p>The first rectangle contains two numbered lists. The <strong>first list</strong> has three items and is numbered using bold roman numerals, starting at 1 (I). After the first item there's a numbered sublist; it is indented and has four items, numbered using decimal numbers, starting at 1. After the last item in this sublist there's a single item numbered list; the numbering is blue and uses three levels of numbering: roman, decimal and with latin letters, respectively; numbering starts with I.4-a. The <strong>second list</strong> has two items and uses the same blue, three-level numbering, that starts at I.3-a this time.</p>
68 <p>The second rectangle contains a two-items numbered list, numbered using decimal numbers. After the first item there's a sublist. The sublist is indented and has blue, three level-numbering: roman, decimal and with latin letters, respectively. Numbering starts with <em>III.1-a</em>.</p>
69 <div class="region" id="r1">
79 <li>Section I.4-a</li>
88 <ol class="section part1-chap3-section">
89 <li>Section I.3-a</li>
90 <li>Section I.3-b</li>
93 <div class="region" id="r2">
94 <ol class="chapter part3-chap slim">
97 <li>Section III.1-a</li>
98 <li>Section III.1-b</li>
99 <li>Section III.1-c</li>
100 <li>Section III.1-d</li>