Open Bug 159229 Opened 23 years ago Updated 2 years ago

reframing an iframe loses scroll position in framed document

Categories

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

defect

Tracking

()

Future

People

(Reporter: jr, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

267 bytes, text/html
Details
When changing the style.display attribute from none -> block and vice versa it redraws the IFRAME which takes a long time and resets the scroll bar positions. Expected Results: Should keep IFRAME in memory and remember scroll bar position like in Internet Explorer.
Attached file Testcase
On Windows 98, build 20020723, I dont see the content of the Iframe, after hiding and then showing it. Wrong component though.
Keywords: testcase
OS: Windows XP → All
Hardware: PC → All
Hiding is not needed.... just setting the iframe to display:block will break things in a current build. jr, are you using 1.0? If so, the problem you are seeing is in fact fixed in current builds (but this other thing regressed between 2002-07-22-21 and 2002-07-23-08). jst, this regression was caused by the fix for bug 139294 :(
Assignee: Matti → jkeiser
Status: UNCONFIRMED → NEW
Component: Browser-General → HTMLFrames
Ever confirmed: true
QA Contact: asa → amar
I'm using 1.1b on Windows XP.
OK. there are actually two bugs here. 1) Old bug. hide/show will scroll frame to top. Confirmed. Resummarizing. 2) Regression. show does not work on that testcase. Filed bug 159268
Summary: Redraw of IFRAME when style.display is changed → reframing an iframe loses scroll position in framed document
Priority: -- → P3
Target Milestone: --- → Future
Blocks: 94623
*** Bug 217939 has been marked as a duplicate of this bug. ***
QA Contact: amar → layout.html-frames
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
Assignee: john → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: