Closed
Bug 302806
Opened 19 years ago
Closed 19 years ago
document.write of HTML with HTML comment starting in the HEAD section does not display anything
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: julien.lecomte, Unassigned)
Details
(Keywords: testcase)
Attachments
(3 files)
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Attached are 3 test cases. The first one works fine i.e. when you press the test button, the iframe shows the content correctly. In the second one, the iframe does not seem to display anything. If you refresh the page the content will appear !? The third test case is an HTML file which shows the content correctly when opened directly in Firefox. Reproducible: Always
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
| Reporter | ||
Comment 3•19 years ago
|
||
| Reporter | ||
Comment 4•19 years ago
|
||
NB: Open the first attachment in IE6 SP2 and press the test button -> You get a nice crash!
Comment 5•19 years ago
|
||
(In reply to comment #4) > NB: Open the first attachment in IE6 SP2 and press the test button -> You get > a nice crash! It's invalid HTML, that never should but sometimes can crash a browser, if bugs do allow this. Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b4) Gecko/20050729 SeaMonkey/1.0a did show all as intended, in Opera8.01 the first testcase didn't work.
| Reporter | ||
Comment 6•19 years ago
|
||
It indeed is invalid HTML. I filed this bug because of the discrepency between test case #1 and what you see if you load the HTML file directly in the browser (it *should* be identical) We found this bug when a customer of ours complained about an HTML email that was not being displayed...
Comment 7•19 years ago
|
||
With Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 'Test case showing the problem': Clicking 'test' results in nothing being displayed in the text area. 'Test case working correctly': Clicking 'test' results in 'yo' being displayed in the text area. With Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050729 Firefox/1.0+ ID:2005072921 'Test case showing the problem': Clicking 'test' results in in 'yo' being displayed in the text area. 'Test case working correctly': Clicking 'test' results in 'yo' being displayed in the text area. So I am thinking this bug is fixed on the trunk. Reporter, please try Deer Park Alpha 2 (Firefox 1.5 alpha) and verify that this problem is fixed. Thanks!
| Reporter | ||
Comment 8•19 years ago
|
||
Verified fixed using Deer Park Alpha 2 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 10•19 years ago
|
||
Fixed is only for bugs in which the code change which fixed the problem is known. Reopening to resolve WFM. Also you should not verify your own bug resolutions, but leave it for someone else to verify that the resolution was correct.
Status: VERIFIED → UNCONFIRMED
Resolution: FIXED → ---
Comment 11•19 years ago
|
||
WFM per comment 7 and 8
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•