Summary: | REGRESSION (r14948-r14956): Unnecessary horizontal scroll bars drawn | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Henk <henk.kampman> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED INVALID | ||||||||
Severity: | Major | CC: | mitz, rendezvouscp, webkit | ||||||
Priority: | P1 | Keywords: | NeedsReduction, Regression | ||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
URL: | http://training.trafficexplorer.nl/apple-test/menu.php | ||||||||
Attachments: |
|
Description
Henk
2007-10-02 04:50:19 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. Probably <http://trac.webkit.org/projects/webkit/changeset/14953>, which added overflow-{x,y} support. 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? Created attachment 18911 [details]
Reduction to a div with a style of overflow-x: scroll
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. 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. Created attachment 18953 [details]
Test case
Improved test case.
|