Closed Bug 289116 Opened 19 years ago Closed 19 years ago

tag IFRAME ignores height="100%"

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 41656

People

(Reporter: grig, Assigned: bugzilla)

Details

(4 keywords)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: 

IFRAME object does not work with attribute "height" equal to 100%.


Reproducible: Always

Steps to Reproduce:
try this example:

<table border="1" height="50">
 <tr>
  <td height="100%"><iframe style="height:100%"></iframe></td>
 </tr>
</table>


Actual Results:  
height of the frame is much greater 50 pixels

Expected Results:  
50 pixels of frame's height (100% from parent's height) according to CSS 
specification of w3c.org
Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.6) Gecko/20050318 
Firefox/1.0.2
Keywords: css1, css2, dom1, dom2
The w3c specs also say that you cannot set the height property on a table
element (not in html strict, nor in transitional). This means that the behaviour
is as it should be. The height you are seeing is probably the default height of
an iframe. 50 pixels is not a lot.

*** This bug has been marked as a duplicate of 41656 ***
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.