Closed Bug 1406210 Opened 7 years ago Closed 7 years ago

Empty ul or ol in li doesn't advance vertical position

Categories

(Core :: Layout: Block and Inline, defect)

56 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 221855

People

(Reporter: nrkn.com, Unassigned)

Details

Attachments

(1 file)

Attached image Shows bug in action
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170926190823

Steps to reproduce:

This markup, no additional styles applied: 

```html
<ol><li><ol></ol></li><li>b</li><li>c</li></ol>
```




Actual results:

The vertical position of the second list item is not advanced, causing the list markers to overlap


Expected results:

The list markers should not overlap - it should render the same as: 

```html
<ol><li></li><li>b</li><li>c</li></ol>
```
Actually, any empty block child appears to trigger it:

<ol><li><div></div></li><li>b</li></ol>

But empty inline elements don't:

<ol><li><span></span></li><li>b</li></ol>
Duplicate of bug 179596 or bug 221855.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: