Closed
Bug 1683
Opened 26 years ago
Closed 26 years ago
"P" handling is broken (a recent regression)
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: kipp, Assigned: rickg)
Details
According to the HTML4 DTD, the </P> tag is optional. Therefore P's autoclose.
This simple test when loaded up in a current build demonstrates the problem
(dump the content model after loading):
--CUT--
<HTML>
<HEAD>
<STYLE>
#pm {
margin: 4px;
border: solid teal 2px;
}
</STYLE>
<SCRIPT SRC="DumpTreeIE.js">
</SCRIPT>
</HEAD>
<BODY onLoad="dumpTree();">
<P>
<P>
<P>
This is some text. It better be at the top of the page.
<P>
<P>
This text should be one lines worth below the previous text.
<P ID=pm>
<P ID=pm>
<P ID=pm>
This is some text. It better be at the top of the page.
<P ID=pm>
This text should be below the previous text.
</BODY>
</HTML>
--CUT--
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
QA Contact: 4110
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 1•26 years ago
|
||
Assuming that the statement in paragraph #4 "This is some text. It better be at
the top of the page" does not mean that this sentence really should appear at
the top of the page above the others, I am verifying this bug fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•