This sample, when formatted with no style sheet, displays as:
Notice the ol counter seems to get "stuck" and not increment, when there's a following imbedded ul.
Here's the test case:
Marshall Schor
1. should be 1
2. should be 2
• a bulleted item
2. should be 3
• a bulleted item
2. should be 4
3. should be 5
Notice the ol counter seems to get "stuck" and not increment, when there's a following imbedded ul.
Here's the test case:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>title</title>
</head>
<body>
<ol>
<li>should be 1</li>
<li>should be 2</li>
<ul>
<li>a bulleted item</li>
</ul>
<li>should be 3</li>
<ul>
<li>a bulleted item</li>
</ul>
<li>should be 4</li>
<li>should be 5</li>
</ol>
</body>
</html>
Marshall Schor