Bug 17034 - Long <option>s should be constrained like on OS X
Summary: Long <option>s should be constrained like on OS X
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: data:text/html,<select style="width: ...
Keywords: HasReduction, PlatformOnly
Depends on:
Reported: 2008-01-27 12:34 PST by Matt Lilek
Modified: 2008-01-27 12:41 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 2008-01-27 12:34:08 PST
On Windows, a long <option> will be fully displayed, potentially causing it to go off the edge of the screen (I had this happen in Drosera's symbol popup).  On OS X, the width of the menu is restricted which is definitely better than the current behavior.

For what it's worth, the behavior of other browsers is as follows:

IE 7: Restricts the pop down menu to the width of its parent <select>.
Firefox 2 & 3 (Mac & Win): Behave like us and fall off the edge of the screen.
Opera (Mac & Win): Restrict the width of the menu and scroll the content like a marquee.