Bug 25982 - Safari shows scrollbars in Gmail when there's nothing to scroll
Summary: Safari shows scrollbars in Gmail when there's nothing to scroll
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Trivial
Assignee: Nobody
URL: http://mail.google.com/
Keywords: InRadar, NeedsReduction
Depends on:
Blocks:
 
Reported: 2009-05-23 18:32 PDT by Colin Chivers
Modified: 2009-05-25 09:54 PDT (History)
1 user (show)

See Also:


Attachments
A screenshot of the issue. (389.64 KB, image/png)
2009-05-23 19:09 PDT, Colin Chivers
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Chivers 2009-05-23 18:32:16 PDT
In Gmail, Safari will show a vertical scrollbar (without the actual bar part in it) even when there isn't anything to scroll to. I'm using the latest WebKit nightly, r44078, with the first public beta of Safari 4. It seems to effect all pages in Gmail, not just the inbox.
    Steps to Reproduce:

    1. Get on Gmail.
    2. Go to a page within Gmail that can fit in one browser window (that shouldn't normally have vertical scrollbars on the side.)

    Expected Results:
The page should not show any scrollbars when they are not necessary.
Comment 1 Colin Chivers 2009-05-23 19:09:21 PDT
Created attachment 30622 [details]
A screenshot of the issue.
Comment 2 Mark Rowe (bdash) 2009-05-23 19:26:08 PDT
<rdar://problem/6918094>
Comment 3 Mark Rowe (bdash) 2009-05-23 19:34:39 PDT
Gmail is setting "overflow-x: auto; overflow-y: scroll;", which means we're correct to show an empty scrollbar track.  Firefox behaves similarly.  Closing due to this being correct behavior.
Comment 4 mitz 2009-05-23 19:40:24 PDT
Specifically, the rule is:
html.cQ{overflow-y:scroll;overflow-x:auto}
in a style sheet served from https://mail.google.com/mail/?ui=2&view=ss&ver=…
Comment 5 Colin Chivers 2009-05-25 09:54:52 PDT
(In reply to comment #4)
> Specifically, the rule is:
> html.cQ{overflow-y:scroll;overflow-x:auto}
> in a style sheet served from https://mail.google.com/mail/?ui=2&view=ss&ver=�
> 

Thanks for your help! I added "html {overflow: auto !important;}" to my user stylesheet and now it works how I like it.