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)

x86
All
defect
Not set
minor

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.
Attached file Testcase to exhibit the bug. (deleted) —
Keywords: testcase
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.
One issue per bug, please. Comment 2 does not seem relevant to this bug.
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
Depends on: 211562, 232838
Checkin for bug 232838 did not affect this.
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.

Attachment

General

Creator:
Created:
Updated:
Size: