Closed
Bug 239182
Opened 20 years ago
Closed 19 years ago
HTML code inside IFRAME-s parsed, when BODY tag missing
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 Mozilla parses the HTML code inside the IFRAME, when BODY tag missing from the document. <BODY> tag is optional, so the page is valid. you can check with http://validator.w3.org/. Reproducible: Always Steps to Reproduce: 1. open the specified URL Actual Results: javascript alert will popup, and open <iframe src="..."> Expected Results: just open the <iframe src="...">
Comment 1•20 years ago
|
||
Hmm.. this is the usual problem with us hoisting <script>s up to <head> when there is no <body> (unfortunately needed for compat with IE and NS4 in many cases). Marking dependent, but this is most likely going to be a duplicate...
Depends on: 178258
Updated•20 years ago
|
Whiteboard: DUPEME
Comment 2•20 years ago
|
||
I suspect this was probably fixed with the checkin for bug 88952, but the testcase given in the url is a 404. Reporter, can you check again with a recent trunk nightly?
QA Contact: mrbkap
Comment 3•19 years ago
|
||
Marking INVALID based on lack of information. If new information surfaces, feel free to reopen. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•