Closed
Bug 195334
Opened 22 years ago
Closed 22 years ago
iframes in tables in FORMs using percent height are shown with zero height
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 166630
People
(Reporter: dominic, Unassigned)
Details
Attachments
(1 file)
2.42 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
An iframe in a table with height 100% shows correctly, taking up 100%. As soon
as you put the table in form tags, the iframe has zero height.
here is a html file (taken from the mozilla site) to show the problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd"><html><head><title>Iframe in table
in form problem</title>
</head>
<body>
<P>
<table width="100%" height="100%"><br>
<tr><td height="100%"><br>
<iframe src="about:blank" height="33%">This IFRAME is NOT in a table, in a
<u>form</u>.Please note the height is using percent.</iframe>
<br>
</td></tr><br>
</table><br>
</p>
<table width="100%" height="50%">
<tr><td height="100%">
<iframe src="about:blank" height="33%">This IFRAME is NOT in a table, in a
<u>form</u>.Please note the height is using percent.</iframe>
</td></tr>
</table>
<form><br>
<table width="100%" height="100%"><br>
<tr><td height="100%"><br>
<iframe src="about:blank" height="33%">This IFRAME IS in a table, in a
<u>form</u>.Please note the height is using percent.</iframe>
<br>
</td></tr><br>
</table><br>
</form><br>
<form>
<table width="100%" height="50%">
<tr><td height="100%">
<iframe src="about:blank" height="33%">This IFRAME IS in a table, in a
<u>form</u>.Please note the height is using percent.</iframe>
</td></tr>
</table>
</form>
</body></html>
Reproducible: Always
Steps to Reproduce:
Please use the example html provided
Actual Results:
The iframe is shown with no height when put within a form
Expected Results:
rendered the iframe exactly the same as when the form tags aren't there.
Reporter | ||
Comment 1•22 years ago
|
||
->Frames
Assignee: form → frame
Component: Layout: Form Controls → Layout: HTML Frames
QA Contact: desale → madhur
*** This bug has been marked as a duplicate of 166630 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•