Closed Bug 219836 Opened 21 years ago Closed 21 years ago

First <a href=...> in <li> automatically gets a <br/>

Categories

(Core :: Layout, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 200170

People

(Reporter: rui_wi, Unassigned)

Details

(Keywords: testcase)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624

The following two items in the list are not displayed the same! The first item
receives and unexplained <br/>

<ul>
<li>Go see <a href="http://www.yahoo.com/">Yahoo</a></li>
<li>Go see <a href="http://www.yahoo.com/">Yahoo</a></li>
</ul>

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Actual Results:  
-Go see
this
-Go see this

Expected Results:  
-Go see this
-Go see this
Attached file testcase
Testcase code from the bug description
Testcase WFM 20030913 PC/WinXP
Assignee: misc → other
Component: Layout: Misc Code → Layout
Keywords: testcase
QA Contact: nobody → ian
New attachment that should render in quirks (no doctype) - both testcases
render fine for me Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b)
Gecko/20030827
Marking worksforme.  If someone has a testcase that shows the bug, please reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Sorry that I didn't fully analyze the conditions for the bug. If a <a
name="whatever"/> is placed before the <ul>, then there are problems. Please see
the example.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
you never closed your <a
name="whatever"/> tag... in HTML (as opposed to xhtml), you can't close a tag
with />.

your document is pretty invalid html, see
http://validator.w3.org/check?uri=http%3A%2F%2Fbugzilla.mozilla.org%2Fattachment.cgi%3Fid%3D131835%26action%3Dview&doctype=HTML+4.01+Transitional&charset=utf-8+%28Unicode%2C+worldwide%29


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

Attachment

General

Creator:
Created:
Updated:
Size: