Opened 11 years ago

Closed 11 years ago

#11944 closed defect (fixed)

dijit.BackgroundIframe sometimes zero width/height in IE6

Reported by: sjames Owned by: bill
Priority: high Milestone: 1.6
Component: Dijit Version: 1.5
Keywords: IE6, BackgroundIframe Cc:
Blocked By: Blocking:

Description (last modified by bill)

The dijit.BackgroundIframe facility doesn't work properly in IE6 (the iframe tends to end up with a width and height of ZERO).


Move the line:-

   this.iframe = frame;

To below the line:-

   var iframe = dijit._frames.pop();

This will ensure that the following line will work (becuase the "resize" function needs "this.iframe" property to be instantiated in order to work):-


Change History (3)

comment:1 Changed 11 years ago by bill

Description: modified (diff)
Milestone: tbd1.6
Owner: set to bill
Status: newassigned

Ah OK, I can see how it's referencing the variable before being set, although I haven't noticed a size problem occurring, but anyway thanks I'll change the code.

comment:2 Changed 11 years ago by bill

Summary: dijit.BackgroundIframe bug in IE6dijit.BackgroundIframe sometimes zero width/height in IE6

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [23177]) Fix bug where this.iframe was being referenced in resize() before being set, causing sizing problems on IE. Fixes #11944, refs #11822 (although that ticket is really about FF and webkit). !strict.

Note: See TracTickets for help on using tickets.