Error rendering nested <ol>/<il> tags in HTML
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
People
(Reporter: gamgster, Unassigned)
Details
Attachments
(1 file)
483 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
This HTML code has a bad rendering.
<!DOCTYPE html><html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
x<br>
x<br>
<ol>
<li>x</li>
<ol>
<li>x</li>
<li>x</li>
<ol>
<li>x</li>
<li>x</li>
</ol>
<li>x</li>
<ol>
<li>x</li>
<ol>
<li>x</li>
</ol>
<li>x</li>
<li>x</li>
<li>x</li>
<li>x</li>
<li>x</li>
</ol>
<li>x</li>
<ol>
<li>x</li>
</ol>
</ol>
<li>x</li>
<ol>
<li>x</li>
</ol>
<li>x</li>
<ol>
<li>x</li>
</ol>
</ol>
</body>
</html>
Actual results:
This is how Firefox/Thunderbird rendered it.
x
x
1. x
1. x
2. x
1. x
2. x
3. x
1. x
1. x
2. x
3. x
4. x
5. x
6. x
2. x
1. x
3. x
1. x
2. x
1. x
Expected results:
This is the expected result (as it was in Chrome and Edge)
x
x
1. x
1. x
2. x
1. x
2. x
3. x
1. x
1. x
2. x
3. x
4. x
5. x
6. x
2. x
1. x
2. x
1. x
3. x
1. x
Reporter | ||
Comment 1•5 years ago
|
||
Thunderbird 68.8.0 (64-bit)
Comment 2•5 years ago
|
||
Emilio, I doubt this needs to stay sec-sensitive, but can you take a casual look just in case?
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Description
•