Closed Bug 457765 Opened 16 years ago Closed 15 years ago

Anchor-element wrapped outside <li>-element gets duplicated inside it

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 324875

People

(Reporter: jrundruud, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

When creating an anchor-element which wraps an list item, firefox closes the anchor tag before the li-element starts. It also creates an additional anchor-element inside the list item.
Example:
<a href="#"><li>Lorem ipsum</li></a>
becomes 
<a href="#"></a><li><a href="#">Lorem ipsum</a></li>

Reproducible: Always

Steps to Reproduce:
1.Create an HTML-document which contains an anchor element wrapping a list item.
2.Open it in firefox, select the text and click "View selection source"
Thanks for reporting.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.