unnecessary vertical scrollbar on overflow:auto boxes when the vertical scrollbar is present on html

RESOLVED WORKSFORME

Status

()

Core
Layout
RESOLVED WORKSFORME
10 years ago
2 years ago

People

(Reporter: Bruno Fassino, Unassigned)

Tracking

({regression, testcase})

Trunk
x86
Windows XP
regression, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 300623 [details]
minimal test case

Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008012904 Minefield/3.0b3pre

In the test case a green box with overflow:auto and fixed dimensions has a child overflowing only horizontally. Only the horizontal scrollbar is displayed if the page has no vertical scrollbar.
If the window height is reduced so that the vertical scroll on html is needed, and the page refreshed, then the overflow:auto div gets both scrollbars. If in these conditions the page is resized higher again, when the vertical scrollbar on html goes away, at the same time the unnecessary vertical scrollbar on the div disappears.
If the overflow:auto div has no specified height the problem doesn't occur.
It could be a chosen behavior, but its dependence on the viewport scrollbar looks strange.
In 1.8 the vertical scrollbar on the overflow:auto div is never shown.
Can you find a regression range?
(Reporter)

Comment 2

10 years ago
Not very precise, but I see the problem in:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120805 Minefield/3.0b2pre

and NOT in:  2007113005

(In addition to what I said at the beginning, the unnecessary vertical scrollbar also disappears when resizing horizontally the browser window.)
I can not reproduce this issue. I will close this bug as wfm. Please reopen if this issue persist.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.