Bug 17034 - Long <option>s should be constrained like on OS X
: Long <option>s should be constrained like on OS X
Status: NEW
Product: WebKit
Classification: Unclassified
Component: Forms
: 528+ (Nightly build)
: PC Windows XP
: P2 Normal
Assigned To: Nobody
data:text/html,<select style="width: ...
: HasReduction, PlatformOnly
Depends on:
  Show dependency treegraph
Reported: 2008-01-27 12:34 PST by Matt Lilek (pewtermoose)
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 (pewtermoose) 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.