Bug 11278

Summary: REGRESSION: Popup width doesn't change to accommodate dynamic changes to options
Product: WebKit Reporter: mitz
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: adele
Priority: P1 Keywords: InRadar, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test case
none
Test case
none
patch andersca: review+

mitz
Reported 2006-10-13 04:12:23 PDT
If you dynamically add or remove options from a pop-up or change options' length, it should resize to fit the longest option (assuming width: auto). In TOT, the resizing only happens when you subsequently change the selection in the popup. See the attached test case.
Attachments
Test case (471 bytes, text/html)
2006-10-13 04:12 PDT, mitz
no flags
Test case (471 bytes, text/html)
2006-10-13 04:12 PDT, mitz
no flags
patch (24.87 KB, patch)
2007-01-17 12:11 PST, Adele Peterson
andersca: review+
mitz
Comment 1 2006-10-13 04:12:45 PDT
Created attachment 11063 [details] Test case
mitz
Comment 2 2006-10-13 04:12:47 PDT
Created attachment 11064 [details] Test case
mitz
Comment 3 2006-10-13 04:16:28 PDT
r17026 fixed a similar issue with list boxes.
Stephanie Lewis
Comment 4 2006-11-08 14:58:26 PST
radar 4826875
Adele Peterson
Comment 5 2007-01-17 12:11:42 PST
Anders Carlsson
Comment 6 2007-01-17 13:15:25 PST
Comment on attachment 12521 [details] patch r=me
John Sullivan
Comment 7 2007-01-17 13:16:14 PST
Comment on attachment 12521 [details] patch r=me
Adele Peterson
Comment 8 2007-01-17 13:20:41 PST
Committed in r18913.
Note You need to log in before you can comment on or make changes to this bug.