Closed Bug 1346 Opened 26 years ago Closed 26 years ago

simple parsing bug

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kipp, Assigned: rickg)

References

Details

DT's and DD's should auto-close each other...The following simple test, when
rendered in raptor does the wrong thing because the parser leaves the DD in the
DT.

<HTML>
 <HEAD>
  <STYLE type="text/css">
   DT { display: compact; font-weight: bolder; }
   DD { margin-left: 4em; }
  </STYLE>
 </HEAD>
 <BODY>
  An example of the compact style:
  <DL>
   <DT>short
   <DD>Description goes here
   <DT>too long for the margin
   <DD>Description goes here
  </DL>
 </BODY>
</HTML>
*** Bug 935 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This bug was the result of my mininterpreting the HTML spec for these tags.
Sorry.
Status: RESOLVED → VERIFIED
Verified fixed in 12.1.98 build, using XP Viewer on NT 4.0 SP3 & Win98.

Specifically, the two <DT> items are presented in boldface on the left-hand side
of the page, with the second "Description goes here" <DD> item placed a line
below the "too long for the margin" line.

(Kipp, if you believe this conclusion is erroneous, please do re-open this bug
with your comments at your earliest convenience. Thanks!)
You need to log in before you can comment on or make changes to this bug.