Closed Bug 96777 Opened 23 years ago Closed 23 years ago

Using onresize() causes infinite redraw loop

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: patrice, Assigned: blizzard)

References

()

Details

I set up a Web site for a course with a header, a footer, and a body
that contains two internal frames: a menu and one with contents. The
height of the internal frames is computed dynamically based on the height
of the browser window. Hence the iframes are redrawn every time the browser
window is resized.

This is accomplished by using 'onresize="setupContents()"' in the body tag,
where setupContents() is a Javascript function (see the URL for the details
of the code).

This works fine with IE 5.0 and above, and with Mozilla 0.9.3. The problem
occurs when using Galeon. Galeon 0.12 (as well as 0.12pre1 and 0.12pre3) keeps
redrawing the internal frame over and over again (the ensuing flicker is
extremely annoying to watch).

The problem goes away if I delete the 'onresize="setupContents()"'
from the <body> tag [but of course then the page isn't redrawn when the
user resizes his/her browser window].

The problem also occurs with the 20010814 build of Mozilla 0.9.3 installed. 

Here's what one of the Galeon developers (mpeseng@tin.it) had to say about it:

------- Additional Comments From Marco Pesenti Gritti 2001-08-22 10:39 -------

it looks like a mozilla embedding bug .. please report it on
bugzilla.mozilla.org
Sorry this was a galeon bug :( I think it can be closed
OK, closing.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.