Closed Bug 77997 Opened 23 years ago Closed 23 years ago

XHTML-ized <LI> (<LI />) always renders incorrectly

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: hwaara, Assigned: clayton)

Details

Attachments

(2 files)

The bullets appear very strangely if the <LI>'s are XHTML-ized. That is:

<ul>
<li />Hey
<li />You
<li />There
</ul>

renders incorrectly. The exact same testcase, but with <li> instead of <li />
works correctly.
Attached patch testcaseSplinter Review
I don't think this is a bug. Shouldn't the text be a child of the <li>? like 
this:

<ul>
<li>Hey</li>
<li>You</li>
<li>There</li>
</ul>

The <li> element is defined as:  <!ELEMENT li %Flow;>
Agreed, this isn't a bug. Resolving as INVALID.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
.
Status: RESOLVED → VERIFIED
Isn't it stuff like this that our quirks mode is supposed to handle?
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
no
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: