Closed Bug 22623 Opened 25 years ago Closed 25 years ago

An extra </li> displays wrongly as a <li> bullet <li>A <li>B <li>C</li> </li> </ul>

Categories

(Core :: Layout, defect, P3)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dweinste, Assigned: harishd)

Details

Attachments

(1 file)

Here is a code snippet that shows the bug:

  <ul>
	  <li>A
	  <li>B
	  <li>C</li>
	  </li>
  </ul>
Assignee: rickg → harishd
Summary: An extra </li> displays wrongly as a <li> bullet <li>A <li>B <li>C</li> </li> </ul> → An extra </li> displays wrongly as a <li> bullet <li>A <li>B <li>C</li> </li> </ul>
Harish -- I'm giving this to you because you added the code that is responsible.
In HandleEndToken(), there's code in the default section of the switch() that
forces an open tag if only a close tag is found. I think you added it so
that we'd get the extra linefeed. I prefer that this code go away; perhaps we
should just emit a <BR>. Nonetheless, here you go.
Target Milestone: M13
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
FIXED by not opening an LI for stray /LI.
*** Bug 21845 has been marked as a duplicate of this bug. ***
Fixed in the Jan 20 build.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: