<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>15252</bug_id>
          
          <creation_ts>2007-09-21 13:44:56 -0700</creation_ts>
          <short_desc>REGRESSION: &lt;select multiple&gt; doesn&apos;t scroll to top when old options are removed and new ones are added, leaving listbox empty-looking</short_desc>
          <delta_ts>2007-10-15 11:50:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>hyatt</cc>
    
    <cc>sullivan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>187</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2007-09-21 13:44:56 -0700</bug_when>
    <thetext>If you have a &lt;select multiple&gt; that is scrolled down, then remove all its &lt;option&gt;s, then add some new options, the listbox won&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188</commentid>
    <comment_count>1</comment_count>
      <attachid>16343</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2007-09-21 13:46:40 -0700</bug_when>
    <thetext>Created attachment 16343
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-09-21 14:20:19 -0700</bug_when>
    <thetext>This is a regression from Safari 2.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-09-21 14:26:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/5498184&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184</commentid>
    <comment_count>4</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2007-09-21 14:35:33 -0700</bug_when>
    <thetext>Do we have any real-world examples of this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58591</commentid>
    <comment_count>5</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2007-10-15 11:50:52 -0700</bug_when>
    <thetext>Committed revision 26614.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16343</attachid>
            <date>2007-09-21 13:46:40 -0700</date>
            <delta_ts>2007-09-21 13:46:40 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>listbox.html</filename>
            <type>text/html</type>
            <size>1627</size>
            <attacher name="Adam Roben (:aroben)">aroben</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KZnVuY3Rpb24gdGVzdCgpCnsKICAgIHZhciBzZWxlY3QgPSBkb2N1bWVudC5nZXRF
bGVtZW50QnlJZCgibGlzdGJveCIpOwogICAgd2hpbGUgKHNlbGVjdC5oYXNDaGlsZE5vZGVzKCkp
CiAgICAgICAgc2VsZWN0LnJlbW92ZUNoaWxkKHNlbGVjdC5maXJzdENoaWxkKTsKCiAgICBmb3Ig
KHZhciBpID0gMDsgaSA8IDM7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Twvb3B0aW9uPgogICAgPG9wdGlvbj5hPC9vcHRpb24+CiAgICA8b3B0aW9u
PmE8L29wdGlvbj4KICAgIDxvcHRpb24+YTwvb3B0aW9uPgogICAgPG9wdGlvbj5hPC9vcHRpb24+
CiAgICA8b3B0aW9uPmE8L29wdGlvbj4KICAgIDxvcHRpb24+YTwvb3B0aW9uPgogICAgPG9wdGlv
bj5hPC9vcHRpb24+CiAgICA8b3B0aW9uPmE8L29wdGlvbj4KICAgIDxvcHRpb24+YTwvb3B0aW9u
PgogICAgPG9wdGlvbj5hPC9vcHRpb24+CiAgICA8b3B0aW9uPmE8L29wdGlvbj4KICAgIDxvcHRp
b24+YTwvb3B0aW9uPgogICAgPG9wdGlvbj5hPC9vcHRpb24+CiAgICA8b3B0aW9uPmE8L29wdGlv
bj4KICAgIDxvcHRpb24+YTwvb3B0aW9uPgogICAgPG9wdGlvbj5hPC9vcHRpb24+CiAgICA8b3B0
aW9uPmE8L29wdGlvbj4KICAgIDxvcHRpb24+YTwvb3B0aW9uPgogICAgPG9wdGlvbj5hPC9vcHRp
b24+CiAgICA8b3B0aW9uIHNlbGVjdGVkPmE8L29wdGlvbj4KICAgIDxvcHRpb24+YTwvb3B0aW9u
PgogICAgPG9wdGlvbj5hPC9vcHRpb24+CiAgICA8b3B0aW9uPmE8L29wdGlvbj4KICAgIDxvcHRp
b24+YTwvb3B0aW9uPgogICAgPG9wdGlvbj5hPC9vcHRpb24+Cjwvc2VsZWN0PgoKPGJ1dHRvbiBv
bmNsaWNrPSJ0ZXN0KCkiPlRlc3QhPC9idXR0b24+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>