Closed Bug 168170 Opened 22 years ago Closed 22 years ago

dynamically changing document.getElementById("xxx").style.display fails on large page

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: s.a.moeller, Assigned: jst)

References

Details

(Keywords: regression)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910

Altering the visibility of a <div> using
document.getElementById("xxx").style.display
does not work if the size of the <div> is larger than the browser window.

This is a regression, it used to work with Mozila 1.1


Reproducible: Always

Steps to Reproduce:
compare the next two attachments
confirmed with linux trunk build 20020912
regression between trunk builds 2002082008 and 2002082105
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
roc, any ideas?  Looks like we never paint the new div for some reason.... (and
the content area goes dead).
This is a scrolling problem and I've seen it in a few other places. When the
scrolled area is resized it doesn't automatically get scrolled back into view.
What you're seeing is "below the bottom of the document".

It would be great if someone could narrow down the regression by downloading
trunk builds to find the smallest window in which the bug appeared. That would
probably make this pretty trivial to fix. Andrew, Stefan, can you do that?
> It would be great if someone could narrow down the regression by downloading
> trunk builds to find the smallest window in which the bug appeared.
It seems Andrew has done that already!? See comment #3
I'll bet a donut that it was the checkin for bug 163800.
ahh... then the same thing is happening in bug 163970, right?
Should be fixed by backout checkin for bug 163800
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: