Closed
Bug 197448
Opened 22 years ago
Closed 19 years ago
An absolutely position element which is positioned off the screen fails to cause vertical scrollbar to be activated
Categories
(Core :: Layout: Positioned, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ernestcline, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312
If content that is small enough to not normally trip the addition of a a
vertical scroll bar has an absolutely positioned element that does not start in
the viewport, the vertical scrollbar is not shown. Resizing the window does
cause the vertical scrollbar to be displayed, if needed to acess all of the
content in the new window size. Reloading causes the scrollbar to disappear again.
Reproducible: Always
Steps to Reproduce:
1. Load file with the given characteristics.
Actual Results:
No scrollbar
Expected Results:
Displayed a vertical scrollbar from the start.
I'm not certain if this is a layout bug or an XP Toolkit/Widgets bug, but the
similarity to Bug 192823 caused me to decide on reporting it to this component.
Will be adding a testcase.
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•21 years ago
|
||
I am also seeing this behavior in Windows 2000 with 1.4 RC1. I disagree that
the expected result should be to display the vertical scrollbar. Mozilla seems
to be positioning content at the bottom of the viewport (position: absolute;
bottom : 0;) and *then* adding a horizontal scrollbar which obscures the
absolutely positioned content. I can use my mouse wheel to scroll down to the
end of the content, but there is no vertical scrollbar until I resize the
browser in some way. Then a vertical scrollbar appears.
I see two problems:
1) content positioned with "position: absolute; bottom: 0;" is being placed
underneath the horizontal scrollbar
2) The vertical scrollbar is not being shown until the browser is resized
I am attaching another test case which separates the absolutely positioned
content from the content which causes the horizontal scrollbar to appear.
Comment 4•21 years ago
|
||
Problem 1 in comment 2 was spawned off as bug 211562.
Maybe this bug will dissappear when that problem is solved because if I
explicitly position the box below the viewport (bottom:-20px) the vertical
scrollbar is visible from the start.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Updated•21 years ago
|
Comment 5•21 years ago
|
||
Checkin for bug 232838 did not affect this.
Comment 6•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051015
Firefox/1.6a1 ID:2005101508
This works for me. Please reopen if you can reproduce in the latest builds.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•