Bug 30361

Summary: Don't display vertical scrollbar when list item slightly overflows
Product: WebKit Reporter: Victor Wang <victorw>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Screenshots
none
Test HTML none

Victor Wang
Reported 2009-10-14 11:03:12 PDT
See attached screenshots. IE does not display vertical scroll bar if the text item overflows; Firfox does not display scroll bar for most cases unless the total number of lines > certain threshold. The scroll bar does not seem help much when it is displayed (see the last screenshot in attached image). Webkit displays a scroll bar with > 0 pixel overflow. On Windows, real-world page that's affected: http://de.news.yahoo.com/wirtschaft.html, see text in right navigation strip saying "Wirtschaft: Alle Videos ยป" that has an unnecessary scrollbar. It happens this real-world page display fine on Mac because of the text font height difference between Win and Mac. Try attached html to see how the vertical scrollbar displays on mac. In this case, the scroll bar does not seem very helpful and the IE behavior looks better to me, think we should remove the scroll bar for list item. see bug for more info: https://bugs.webkit.org/show_bug.cgi?id=24434
Attachments
Screenshots (222.40 KB, image/png)
2009-10-14 11:08 PDT, Victor Wang
no flags
Test HTML (315 bytes, text/html)
2009-10-14 11:09 PDT, Victor Wang
no flags
Victor Wang
Comment 1 2009-10-14 11:08:54 PDT
Created attachment 41171 [details] Screenshots
Victor Wang
Comment 2 2009-10-14 11:09:38 PDT
Created attachment 41172 [details] Test HTML
Note You need to log in before you can comment on or make changes to this bug.