Closed Bug 7892 Opened 25 years ago Closed 25 years ago

DL list with P between items misinterpreted

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: olaf, Assigned: buster)

References

()

Details

Attachments

(1 file)

The given URL contains a list like
<DL>
<P><DT>Item 1<DD>Description
<P><DT>Item 2<DD>Description
...
</DL>
which apparently abuses the P tag for formatting purposes.

On apprunner build 1999060414, this renders with each item right-indented wrt.
the preceding item.

The incorrect HTML seems to get interpreted as
<P>
   <DT>
       Item 1
   <DD>
       Description
       <P>
          <DT>
              Item 2
          <DD>
              Description
              ...
       </P>
</P>

instead of

<P>
   <DT>
       Item 1
   <DD>
       Description
</P>
<P>
   <DT>
       Item 2
   <DD>
       Description
</P>
This bug is also exhibited by the Win98 Apprunner of 1999061108 with
http://www.gimp.org/download.html . Attaching a minimized case...
Status: NEW → ASSIGNED
Min test case:

<html><body>
<DL>
  <P>p-text1
    <DT><B>Africa</B>
     <DD>africa subtext
     <P>p-text2
     <DT><B>Australia</B>
       <DD>austrailia subtext
</body></html>
Assignee: rickg → kipp
Status: ASSIGNED → NEW
This DT/DD bug is now fixed, but there's a vertical alignment bug.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
No vertical alignment bug here. The <P> elements are empty, so they are totally
ignored, as per the HTML4 spec.

The test case (attachement 392) renders correctly in build 19990614.

Marking bug INVALID.
Status: RESOLVED → VERIFIED
Verified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: