Bug 17033

Summary: REGRESSION: Really long <option> causes unnecessary page scroll bars to accommodate content
Product: WebKit Reporter: Matt Lilek <dev+webkit>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, mitz
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: data:text/html,<select style="width: 200px;"><option>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</option></select>
Attachments:
Description Flags
Account for controls' clipping rect when in {rightmost, leftmost, lowest}Position() darin: review+

Matt Lilek
Reported 2008-01-27 12:25:49 PST
A very long bit of content in an <option> will cause scroll bars to appear on the page as if the <select>'s width wasn't limited.
Attachments
Account for controls' clipping rect when in {rightmost, leftmost, lowest}Position() (35.37 KB, patch)
2008-02-16 22:27 PST, mitz
darin: review+
David Kilzer (:ddkilzer)
Comment 1 2008-01-27 13:02:18 PST
This is a regression from Safari 2.0.4 (419.3) with original WebKit on Mac OS X 10.4.11 (8S165).
mitz
Comment 2 2008-01-27 13:25:05 PST
mitz
Comment 3 2008-02-16 22:27:58 PST
Created attachment 19167 [details] Account for controls' clipping rect when in {rightmost, leftmost, lowest}Position()
Darin Adler
Comment 4 2008-02-16 23:35:32 PST
Comment on attachment 19167 [details] Account for controls' clipping rect when in {rightmost, leftmost, lowest}Position() r=me
mitz
Comment 5 2008-02-17 00:51:31 PST
Note You need to log in before you can comment on or make changes to this bug.