Closed
Bug 935
Opened 26 years ago
Closed 26 years ago
auto-closing DT/DD doesn't work
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
People
(Reporter: kipp, Assigned: rickg)
References
()
Details
According to the HTML4 DTD, the end tags for DT and DD tags are optional.
Therefore the
following html should be legal:
<HTML>
<STYLE>
</STYLE>
<BODY>
Before the DL
<DL>
<DT>Dee-tee
<DD>Dee-dee
<DT>Dee-tee #2
<DD>Dee-dee #2
</DL>
After the DL
</BODY>
</HTML>
However, your parser creates the following (incorrect) content tree:
HTML refcount=4<
HEAD refcount=2<
>
BODY refcount=4<
Text refcount=3<\nBefore the DL\n>
DL refcount=3<
Text refcount=3<\n >
DT refcount=3<
Text refcount=3<Dee-tee\n >
DD refcount=3<
Text refcount=3<Dee-dee\n >
>
DT refcount=3<
Text refcount=3<Dee-tee #2\n >
DD refcount=3<
Text refcount=3<Dee-dee #2\n>
>
>
>
>
Text refcount=3<\nAfter the DL\n\n\n>
>
>
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Updated•26 years ago
|
Resolution: FIXED → ---
Comment 2•26 years ago
|
||
This is broken again (as of 11/9). See near the bottom of the above URL. It
was fixed at one point (I only checked 10/15 but I have a bunch in between).
Updated•26 years ago
|
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•