Closed Bug 1568449 Opened 5 years ago Closed 5 years ago

embedding ordered list inside ordered list results in improper numbering of parent list

Categories

(Core :: Layout: Generated Content, Lists, and Counters, defect)

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1548753

People

(Reporter: stevedevore, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

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)

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?

Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Generated Content, Lists, and Counters
Ever confirmed: true
Flags: needinfo?(mats)
Keywords: regression
Product: Firefox → Core
Regressed by: 1518201
Attached file reporter's testcase
Has Regression Range: --- → yes
Has STR: --- → yes

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>.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: