Closed
Bug 42532
Opened 25 years ago
Closed 25 years ago
Paragraph optional end tag is not optional in strict and transitional DTDs
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
People
(Reporter: ian, Assigned: rickg)
References
Details
(Keywords: testcase)
Attachments
(3 files)
The three test cases attached are identical except for the DOCTYPE.
They contain content similar to:
<p> some text
<div> some more text </div>
...which should be interpreted as:
<p> some text </p>
<div> some more text </div>
...since end tags on <p> are optional in the SGML version of HTML4. (i.e., not
in XHTML.)
Currently, it would seem that the strict (and transitional?) DTDs are not taking
the fact that "</p>" is optional into account, and are doing strange things to
the DIV (like not including it or something).
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Reporter | ||
Comment 3•25 years ago
|
||
Reporter | ||
Updated•25 years ago
|
Fix in hand. Marking dup of 42312.
*** This bug has been marked as a duplicate of 42312 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•