Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / lists / olstart.html
blob426364da6b78f2b640c6746361b6bf80ecbfc1b3
1 1. Basic inheritance:
2 <ol start="3">
3 <li>Should be 3</li>
4 <li>Should be 4</li>
5 </ol>
6 <hr>
8 2. Test that the inner start value gets inherited:
9 <ol start="5">
10 <li>Should be 5</li>
11 <ol start="3">
12 <li>Should be 3</li>
13 </ol>
14 </ol>
15 <hr>
17 3. Test that extra tags before the li don't block the inheritance
18 <ol start="3">
19 <p>Text</p>
20 <li>Should be 3</li>
21 </ol>
22 <hr>
24 4. Test for inheritance through many levels
25 <ol start="3">
26 <b><li>Should be 3 (and bold)</li></b>
27 </ol>
28 <hr>
30 5. Test for properly chaining from the previous li when it is nested
31 <ol start="3">
32 <b><li>Should be 3 (and bold)</li></b>
33 <li>Should be 4</li>
34 <li>Should be 5</li>
35 </ol>
36 <hr>
38 6. Test for properly chaining from the previous li when current is nested
39 <ol>
40 <li>Should be 1</li>
41 <b><li>Should be 2 (and bold)</li></b>
42 </ol>
43 <hr>
45 7. Test for properly chaining from the previous li when both are nested
46 <ol start="2">
47 <i><li>Should be 2 (and italic)</li></i>
48 <b><li>Should be 3 (and bold)</li></b>
49 </ol>
50 <hr>
52 8. Test for not inheriting improperly from an another list
53 <ol start="5">
54 <ol start="2">
55 <li>Should be 2</li>
56 </ol>
57 <li>Should be 5</li>
58 </ol>