Closed Bug 304587 Opened 19 years ago Closed 19 years ago

Dynamically Changing an IFRAME height

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: filipe.martins, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

Very weird. Try this example:

http://fmart.atspace.org/ff/iframe-height.html

now, press Ctrl+F to show the Find Text Bar and ESC to hide it. Did you notice it?!

iframe-height.html embeds iframe-height-embeded.html via an IFRAME. When
iframe-height-embeded.html loads it calls top.temp(document) that makes the page
as height as the IFRAME needs it to be. Well, FF doesn't shows the scrollbars,
but when you do the Ctrl+F thing it puts them in place! Is this weird or what?!!
In IE it works Ok.


Reproducible: Always

Steps to Reproduce:
1. Load the url I gave. Notice that there are no scrollbars;
2. Press Ctrl+F and ESC to show and hide the FindText Bar;
3. The vertical scrollbar (and a big one) appears.

Actual Results:  
The scrollbar only appear after the Ctrl+F thing.

Expected Results:  
The scrollbar should be there as soon as the IFRAMEs loads and the embeded page
calls temp()
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050814
Firefox/1.0+ ID:2005081400

WFM

the scrollbar appears when the page is loaded
Summary: Dinamically Changing an IFRAME height → Dynamically Changing an IFRAME height
worksforme: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4)
Gecko/20050813 Firefox/1.0+

This has probably been fixed after 1.0.x which is based on gecko 1.7 (older than
one year by now)

It will work as expected in Firefox 1.5
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.