Closed
Bug 168170
Opened 23 years ago
Closed 23 years ago
dynamically changing document.getElementById("xxx").style.display fails on large page
Categories
(Core :: DOM: CSS Object Model, defect)
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
| Reporter | ||
Comment 1•23 years ago
|
||
| Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
confirmed with linux trunk build 20020912
regression between trunk builds 2002082008 and 2002082105
Comment 4•23 years ago
|
||
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?
| Reporter | ||
Comment 6•23 years ago
|
||
> 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
oops! so he has
I'll bet a donut that it was the checkin for bug 163800.
Depends on: 163800
Comment 9•23 years ago
|
||
ahh... then the same thing is happening in bug 163970, right?
Yep. Same problem.
Comment 11•23 years ago
|
||
Should be fixed by backout checkin for bug 163800
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•