Closed
Bug 317800
Opened 19 years ago
Closed 19 years ago
content after a <iframe/> tag is not shown in XHTML strict/transitional mode
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 158667
People
(Reporter: pieterb, Unassigned)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051107 Firefox/1.5 When you close an iframe tag <iframe src="..." /> (<iframe src="..." />) all content untill next close iframe tag (</iframe>) (</iframe>) is not shown. Reproducible: Always Steps to Reproduce: Use <iframe src="..." /> instead of <iframe src="..."></iframe> in strict or transitional mode. For example the following is not displayed correctly: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <h1>Header 1</h1> <iframe src="http://www.mozilla.org/" height="100" width= "700" /> <h2>This header is NOT shown</h2> </body> </html> Actual Results: The H1 the IFRAME are displayed. The H2 is not shown. Expected Results: You shouldn't be forced to close an IFRAME with a seperate tag. I would expect both <iframe src="..." /> and <iframe src="..."></iframe> to work. All content should be shown in both cases. Only using a seperate closing iframetag seems to work. BTW: It might be arguable to not show a IFRAME in XHTML strict mode, but thats a different issue. This doesn't work in Internet Explorer, so I assume using <iframe src="..." /> should be discouraged until Internet Explorer 7.x.
Comment 1•19 years ago
|
||
It works with an XHTML MIME type; see the comments on the dupe. *** This bug has been marked as a duplicate of 158667 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•