Closed Bug 294765 Opened 20 years ago Closed 20 years ago

The first A element after an XML-empty A (<A/>) is rendered with a preceding line break

Categories

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

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 225323

People

(Reporter: espenhw, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

On the given URL, the first bullet on the second list gets a line break before
the link.

The difference between the first and second lists is as follows:

The first is preceded by this:

    <p><a name="test"></a></p>

And renders correctly.

The second is preceded by this:

    <p><a name="test"/></p>

And gets the spurious line break.

Reproducible: Always

Steps to Reproduce:
1. Visit http://www.empolis.no/~espenhw/test.html
Actual Results:  
The first bullet of the second list gets a line break before the link.

Expected Results:  
No line break should be included.
See bug 225323 comment 5.

*** This bug has been marked as a duplicate of 225323 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.