embedding ordered list inside ordered list results in improper numbering of parent list
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
People
(Reporter: stevedevore, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
220 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
<html>
<body>
<ol type="i">
<li><a href="#">apples</a></li>
<li><a href="#">oranges</a></li>
<ol>
<li>navel</li>
<li>tangelo</li>
<li>sunkist</li>
</ol>
<li><a href="#">bananas</a></li>
</ol>
</body>
</html>
Actual results:
i. apples
ii. oranges
1. navel
2. tangelo
3. sunkist
iv. bananas
Expected results:
i. apples
ii. oranges
1. navel
2. tangelo
3. sunkist
iii. bananas
(note: works corectly in Brave and Chrome)
Comment 1•5 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=5dc0652cd024fef30217ac3e6087b7a32f16967f&tochange=9bad25ccc8d0414e21d3c8d4dcf2178a97bb07c3
Regressed by: Bug 1518201, Bug 288704, Bug 205202
Mats Palmgren, Your bunch of patch seems to cause the regression. Can you please look into this?
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
This is a dupe of bug 1548753, I think, see there for the context. For what is worth that markup is not valid, if you want a nested list you should put it inside the <li>
.
Updated•5 years ago
|
Description
•