ordered list item with empty a tag in it collapses




9 years ago
9 years ago


(Reporter: Eike.send, Unassigned)


Firefox Tracking Flags

(Not tracked)




9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: Gecko/20090729 Firefox/3.5.2
Build Identifier: 

If you have an ordered list "OL" node with two "LI" list item child nodes which both have "A" link nodes as children where the content of the first is empty, the second node will be displayed above the first. This happens only if there is an empty nested A-Tag in the LI. Any number of <li><a href=""></a></li> will be collapsed in the same line.

Reproducible: Always

Steps to Reproduce:
	<head><title>empty "ol li a" test</title></head>
doesn't work:
			<li><a href="#"></a></li>
			<li><a href="#">Second</a></li>
			<li><a href="#">Second</a></li>

Actual Results:  
The "1." and "2." rows are above each other.

Expected Results:  
show the empty list item on its own row

a workaround would be to remove the A tag or insert a nbsp in the content of the A tag
I think this is fixed in current 3.6 or 3.7 nightlies; if so, it should be marked duplicate of bug 179596.
You need to log in before you can comment on or make changes to this bug.