blob: 426364da6b78f2b640c6746361b6bf80ecbfc1b3 [file] [log] [blame]
1. Basic inheritance:
<ol start="3">
<li>Should be 3</li>
<li>Should be 4</li>
</ol>
<hr>
2. Test that the inner start value gets inherited:
<ol start="5">
<li>Should be 5</li>
<ol start="3">
<li>Should be 3</li>
</ol>
</ol>
<hr>
3. Test that extra tags before the li don't block the inheritance
<ol start="3">
<p>Text</p>
<li>Should be 3</li>
</ol>
<hr>
4. Test for inheritance through many levels
<ol start="3">
<b><li>Should be 3 (and bold)</li></b>
</ol>
<hr>
5. Test for properly chaining from the previous li when it is nested
<ol start="3">
<b><li>Should be 3 (and bold)</li></b>
<li>Should be 4</li>
<li>Should be 5</li>
</ol>
<hr>
6. Test for properly chaining from the previous li when current is nested
<ol>
<li>Should be 1</li>
<b><li>Should be 2 (and bold)</li></b>
</ol>
<hr>
7. Test for properly chaining from the previous li when both are nested
<ol start="2">
<i><li>Should be 2 (and italic)</li></i>
<b><li>Should be 3 (and bold)</li></b>
</ol>
<hr>
8. Test for not inheriting improperly from an another list
<ol start="5">
<ol start="2">
<li>Should be 2</li>
</ol>
<li>Should be 5</li>
</ol>