Bug 15341 - REGRESSION (r14948-r14956): Unnecessary horizontal scroll bars drawn
Summary: REGRESSION (r14948-r14956): Unnecessary horizontal scroll bars drawn
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Major
Assignee: Nobody
URL: http://training.trafficexplorer.nl/ap...
Keywords: NeedsReduction, Regression
Depends on:
Blocks:
 
Reported: 2007-10-02 04:50 PDT by Henk
Modified: 2008-02-05 22:34 PST (History)
3 users (show)

See Also:


Attachments
Reduction to a div with a style of overflow-x: scroll (133 bytes, text/html)
2008-02-04 11:43 PST, Chasen Le Hara
no flags Details
Test case (415 bytes, text/html)
2008-02-05 22:34 PST, Chasen Le Hara
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henk 2007-10-02 04:50:19 PDT
1) The vertical scrollbars should not be visible (see frameset definition)

2) Extra disabled vertical scrollbars appear when you click on the disclosure triangles.

No problems with Safari 2.0.2
Comment 1 David Kilzer (:ddkilzer) 2007-10-02 05:18:20 PDT
Confirmed with a local debug build of WebKit r25814 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).  Safari 2.0.4 (419.3) with its original WebKit on 10.4.10 does not show the unneeded horizontal scroll bars.

Comment 2 David Kilzer (:ddkilzer) 2007-10-02 05:33:07 PDT
The bisect-builds script (Bug 15002) reports:
Works: r14948  Fails: r14956

Comment 3 mitz 2007-10-02 13:13:30 PDT
Probably <http://trac.webkit.org/projects/webkit/changeset/14953>, which added overflow-{x,y} support.
Comment 4 Robert Blaut 2008-02-01 13:36:45 PST
I tested this issue using today nightly r29907 and compared results with Opera and Firefox and I can't confirm this bug. Is this already fixed?
Comment 5 Chasen Le Hara 2008-02-04 11:10:46 PST
Fails as described in r29955.
Comment 6 Chasen Le Hara 2008-02-04 11:43:49 PST
Created attachment 18911 [details]
Reduction to a div with a style of overflow-x: scroll
Comment 7 Robert Blaut 2008-02-04 12:32:15 PST
Chasen, your test case works as expected. According http://www.w3.org/TR/css3-box/#overflow-x :

"scroll
This value indicates that the content is clipped and that if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment."

So the horizontal scrollbar should be always visible in this case. If you want to get a behavior you described you should set overflow-x to "auto" instead of "scroll".

The bug is INVALID.
Comment 8 Chasen Le Hara 2008-02-04 13:19:54 PST
Thanks Robert. One day I'll be able to commit. Next time I'll leave a comment when I know that the bug report is invalid.
Comment 9 Chasen Le Hara 2008-02-05 22:34:12 PST
Created attachment 18953 [details]
Test case

Improved test case.