Bug 30361 - Don't display vertical scrollbar when list item slightly overflows
Summary: Don't display vertical scrollbar when list item slightly overflows
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 11:03 PDT by Victor Wang
Modified: 2009-10-14 11:09 PDT (History)
0 users

See Also:


Attachments
Screenshots (222.40 KB, image/png)
2009-10-14 11:08 PDT, Victor Wang
no flags Details
Test HTML (315 bytes, text/html)
2009-10-14 11:09 PDT, Victor Wang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Wang 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
Comment 1 Victor Wang 2009-10-14 11:08:54 PDT
Created attachment 41171 [details]
Screenshots
Comment 2 Victor Wang 2009-10-14 11:09:38 PDT
Created attachment 41172 [details]
Test HTML