Open
Bug 515413
Opened 15 years ago
Updated 2 years ago
ordered list item with empty a tag in it collapses
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: Eike.send, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) 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: <html> <head><title>empty "ol li a" test</title></head> <body> doesn't work: <ol> <li><a href="#"></a></li> <li><a href="#">Second</a></li> </ol> works: <ol> <li></li> <li><a href="#">Second</a></li> </ol> </body> </html> 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.
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•