RESOLVED INVALID 15341
REGRESSION (r14948-r14956): Unnecessary horizontal scroll bars drawn
https://bugs.webkit.org/show_bug.cgi?id=15341
Summary REGRESSION (r14948-r14956): Unnecessary horizontal scroll bars drawn
Henk
Reported 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
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
Test case (415 bytes, text/html)
2008-02-05 22:34 PST, Chasen Le Hara
no flags
David Kilzer (:ddkilzer)
Comment 1 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.
David Kilzer (:ddkilzer)
Comment 2 2007-10-02 05:33:07 PDT
The bisect-builds script (Bug 15002) reports: Works: r14948 Fails: r14956
mitz
Comment 3 2007-10-02 13:13:30 PDT
Probably <http://trac.webkit.org/projects/webkit/changeset/14953>, which added overflow-{x,y} support.
Robert Blaut
Comment 4 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?
Chasen Le Hara
Comment 5 2008-02-04 11:10:46 PST
Fails as described in r29955.
Chasen Le Hara
Comment 6 2008-02-04 11:43:49 PST
Created attachment 18911 [details] Reduction to a div with a style of overflow-x: scroll
Robert Blaut
Comment 7 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.
Chasen Le Hara
Comment 8 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.
Chasen Le Hara
Comment 9 2008-02-05 22:34:12 PST
Created attachment 18953 [details] Test case Improved test case.
Note You need to log in before you can comment on or make changes to this bug.