Closed Bug 63980 Opened 25 years ago Closed 24 years ago

dynamic change of FRAMESET cols/rows attribute causes slow reloading of url

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 48422
Future

People

(Reporter: martin.honnen, Assigned: john)

References

Details

(Keywords: perf, testcase)

Attachments

(1 file)

I tried to script a sliding frame transition by dynamically altering the cols property of a FRAMESET element. While it looks nice in IE5.5 Mozilla totally fails to display that animation. It constantly seems to reload the page causing a blinking of the Stop button in the toolbar while displaying nothing in the content area. <HTML> <HEAD> <TITLE> sliding frame </TITLE> <SCRIPT> var start, x; var end = 0; var delay = 20; var step = -10; function init () { if (document.all) var start = x = document.body.offsetWidth; else var start = x = window.innerWidth; changeFrameSet(); } function changeFrameSet () { x += step; document.getElementById('aFrameset').cols = x + ', *'; if (x > end) setTimeout('changeFrameSet()', delay); } </SCRIPT> </HEAD> <FRAMESET ID="aFrameset" FRAMEBORDER="0" COLS="1024, *" ONLOAD="init()" > <FRAME NAME="frame0" SRC="about:blank"> <FRAME NAME="frame1" SRC="http://www.mozilla.org"> <\/FRAMESET> </HTML>
The frame reloads on changing the .cols property? This is really annoying! Bill Stockton
Keywords: perf
Target Milestone: --- → Future
QA Contact update
QA Contact: petersen → amar
Keywords: testcase
I was about to report a similar frameset bug in Mozilla 0.9.4 but this one seems to be the one I was looking for. Why is this bug marked as Future? Does it have something to do with Bug 48422 (which has a severity critical state)? One thing is for sure, changing dimensions of a frameset dynamically in javascript really seems to be an impossible task as this product gets closer and closer to 1.0 release.
Bulk reassignin HTML FRAME/IFRAME bugs to Eric.
Assignee: pollmann → evaughan
adding dependency
Depends on: 81889
Bulk re-assigning all of Eric's HTMLFrame bugs to John.
Assignee: eric → jkeiser
Dup of "Changing of frameset's ROWS/COLS reloads all children" *** This bug has been marked as a duplicate of 48422 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
With bug 48422 being resolved, the test case still gives the same result. This bug should be re-opened. Tested with Moz 1.1.
WFM 2002091110 WinXP ... could you try a more recent nightly just in case?
Product: Core → Core Graveyard
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.

Attachment

General

Creator:
Created:
Updated:
Size: