Bug 15252 - REGRESSION: <select multiple> doesn't scroll to top when old options are removed and new ones are added, leaving listbox empty-looking
Summary: REGRESSION: <select multiple> doesn't scroll to top when old options are remo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-09-21 13:44 PDT by Adam Roben (:aroben)
Modified: 2007-10-15 11:50 PDT (History)
3 users (show)

See Also:


Attachments
testcase (1.59 KB, text/html)
2007-09-21 13:46 PDT, Adam Roben (:aroben)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2007-09-21 13:44:56 PDT
If you have a <select multiple> that is scrolled down, then remove all its <option>s, then add some new options, the listbox won't scroll back up to the top, which leaves the listbox empty-looking. If you then scroll with the mousewheel the new options pop into view.
Comment 1 Adam Roben (:aroben) 2007-09-21 13:46:40 PDT
Created attachment 16343 [details]
testcase
Comment 2 Dave Hyatt 2007-09-21 14:20:19 PDT
This is a regression from Safari 2.

Comment 3 Dave Hyatt 2007-09-21 14:26:12 PDT
<rdar://problem/5498184>
Comment 4 John Sullivan 2007-09-21 14:35:33 PDT
Do we have any real-world examples of this?
Comment 5 Adele Peterson 2007-10-15 11:50:52 PDT
Committed revision 26614.