Closed
Bug 1513
Opened 26 years ago
Closed 26 years ago
ss:parser creating bad document
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
VERIFIED
FIXED
M1
People
(Reporter: kipp, Assigned: rickg)
References
()
Details
The following HTML (cut around the --CUT-- lines) causes a layout crash
because the parser generates a malformed document. If you add in a <BODY>
tag then no crash. The problem seems to be that the parser auto-generates the
HTML container but doesn't auto-generate the BODY container until *after* the
FORM tag...
--CUT--
<form method=post
action="/Dispatch/Processing/1,66,,00.html?st.ne.ni.subscribe">
<table width="100%" cellpadding=0 cellspacing=0 border=0><tr
bgcolor="#FFCC00"><td height=20><font face="arial, helvetica" size="-1"
color="#000000"> <b>FREE Newsletter</b></font></td>
<td align="right"><span style="color:#CC0000"><font face="ms sans serif, geneva"
size="-2" color="#CC0000"><a
HREF="javascript:openWin('http://www.news.com/Marketing/Demo/Dispatch/textdispat
ch.html', 'win1');"><font
color="#CC0000">sample</font></A> ></font></span> </td></tr>
<tr><td valign="top" width="100%">
<input type="text" name="emailAddress" size=12 align=left maxlength=100
value="enter email">
<br>
<input type="submit" value="Subscribe">
<input type="hidden" name="subscribeFrom" value="frontdoor">
</td></form></tr></table> <p>
--CUT--
Here is the trace from the content-sink:
0[1202960]: HTMLContentSink::Init: this=126a1e0 url='file:/j:/html/1011.html'
0[1202960]: HTMLContentSink::WillResume: this=126a1e0
0[1202960]: HTMLContentSink::OpenHTML: this=126a1e0 node='HTML'
0[1202960]: HTMLContentSink::OpenForm: this=126a1e0 node='FORM'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='FORM'
0[1202960]: HTMLContentSink::OpenBody: this=126a1e0 node='BODY'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='BODY'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TABLE'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TBODY'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TR'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TD'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='FONT'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='nbsp'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='nbsp'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='B'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='FREE Newsletter'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='B'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='FONT'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TD'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TD'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='SPAN'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='FONT'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='A'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='FONT'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='sample'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='FONT'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='A'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='nbsp'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='gt'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='FONT'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='SPAN'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='nbsp'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TD'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TR'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TR'
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='TD'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='
'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='INPUT'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='
'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='BR'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='
'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='INPUT'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='
'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='INPUT'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='
'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TD'
0[1202960]: HTMLContentSink::CloseForm: this=126a1e0 node='FORM'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TR'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TBODY'
0[1202960]: SinkContext::CloseContainer: this=126abd0 node='TABLE'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node=' '
0[1202960]: SinkContext::OpenContainer: this=126abd0 node='P'
0[1202960]: SinkContext::AddLeaf: this=126abd0 node='
'
0[1202960]: HTMLContentSink::WillInterrupt: this=126a1e0
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This bug is marked fixed, but no indication of check in in this bug. Is fix
checked in? When, what build?
Summary: parser creating bad document → ss:arser creating bad document
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Summary: ss:arser creating bad document → ss:parser creating bad document
Comment 2•26 years ago
|
||
well, somebody fixed it 'cuz it works now. Marking verified for 11-24 build.
fixed typo in summary
added url for testing
Updated•26 years ago
|
Comment 3•26 years ago
|
||
just fixing url
You need to log in
before you can comment on or make changes to this bug.
Description
•