<?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>23912</bug_id>
          
          <creation_ts>2009-02-11 20:54:41 -0800</creation_ts>
          <short_desc>REGRESSION: Select elements don&apos;t scroll in response to the mouse wheel</short_desc>
          <delta_ts>2009-02-12 12:19:11 -0800</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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://bugs.webkit.org/enter_bug.cgi?product=WebKit</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oliver Hunt">oliver</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>adele</cc>
    
    <cc>hyatt</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>109420</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2009-02-11 20:54:41 -0800</bug_when>
    <thetext>When attempting to scroll the Component select element on bugzilla i found that the entire page scrolled, rather than just the select contents.

Steps to reproduce:
1. Go to https://bugs.webkit.org/enter_bug.cgi?product=WebKit
2. move mouse over Component select element
3. try to scroll select element with scroll wheel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109421</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-02-11 20:55:46 -0800</bug_when>
    <thetext>&lt;rdar://problem/6579560&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109422</commentid>
    <comment_count>2</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2009-02-11 20:57:22 -0800</bug_when>
    <thetext>I think this used to work.  I wonder when it regressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109423</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2009-02-11 21:00:26 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I think this used to work.  I wonder when it regressed.
&gt; 

It worked relatively recently, i&apos;m blaming hyatt&apos;s many recent changes, although i have no real basis for this other than my fear of large changes, and, well, it&apos;s hyatt ;D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109424</commentid>
    <comment_count>4</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2009-02-11 21:00:42 -0800</bug_when>
    <thetext>Yup, works in 3.1.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109528</commentid>
    <comment_count>5</comment_count>
      <attachid>27616</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2009-02-12 12:13:47 -0800</bug_when>
    <thetext>Created attachment 27616
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109530</commentid>
    <comment_count>6</comment_count>
      <attachid>27616</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-02-12 12:15:41 -0800</bug_when>
    <thetext>Comment on attachment 27616
Patch

&gt; Index: ChangeLog
&gt; ===================================================================
&gt; --- ChangeLog	(revision 40918)
&gt; +++ ChangeLog	(working copy)
&gt; @@ -1,3 +1,16 @@
&gt; +2009-02-12  David Hyatt  &lt;hyatt@apple.com&gt;
&gt; +
&gt; +        Fix for https://bugs.webkit.org/show_bug.cgi?id=23912
&gt; +
&gt; +        I have no idea why this broke.  As far as I can tell the old code never should have worked in
&gt; +        the first place.  Add code to handleWheelEvent that will find an enclosing renderer for a node
&gt; +        in order to attempt a wheel scroll.
&gt; +
&gt; +        Reviewed by NOBODY (OOPS!).

&quot;Reviewed by&quot; should go at the top. r-me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109531</commentid>
    <comment_count>7</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2009-02-12 12:19:11 -0800</bug_when>
    <thetext>Fixed in r40919.  It bugs me that I have no idea what change broke this or why it ever worked in the first place.

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>27616</attachid>
            <date>2009-02-12 12:13:47 -0800</date>
            <delta_ts>2009-02-12 12:15:41 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1874</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDQwOTE4
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTYgQEAKKzIwMDktMDIt
MTIgIERhdmlkIEh5YXR0ICA8aHlhdHRAYXBwbGUuY29tPgorCisgICAgICAgIEZpeCBmb3IgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTIzOTEyCisKKyAgICAgICAgSSBo
YXZlIG5vIGlkZWEgd2h5IHRoaXMgYnJva2UuICBBcyBmYXIgYXMgSSBjYW4gdGVsbCB0aGUgb2xk
IGNvZGUgbmV2ZXIgc2hvdWxkIGhhdmUgd29ya2VkIGluCisgICAgICAgIHRoZSBmaXJzdCBwbGFj
ZS4gIEFkZCBjb2RlIHRvIGhhb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ZW5kZXJlcigpKSB7CisgICAgICAgIAor
ICAgICAgICAvLyBJZiB3ZSBkb24ndCBoYXZlIGEgcmVuZGVyZXIsIHNlbmQgdGhlIHdoZWVsIHRv
IHRoZSBmaXJzdCBub2RlIHdlIGZpbmQgd2l0aCBhIHJlbmRlcmVyLgorICAgICAgICAvLyBUaGlz
IGlzIG5lZWRlZCBmb3IgPG9wdGlvbj4gYW5kIDxvcHRncm91cD4gZWxlbWVudHMgc28gdGhhdCA8
c2VsZWN0PnMgZ2V0IGEgd2hlZWwgc2Nyb2xsLgorICAgICAgICB3aGlsZSAobm9kZSAmJiAhbm9k
ZS0+cmVuZGVyZXIoKSkKKyAgICAgICAgICAgIG5vZGUgPSBub2RlLT5wYXJlbnQoKTsKKyAgICAg
ICAgCisgICAgICAgIGlmIChub2RlICYmIG5vZGUtPnJlbmRlcmVyKCkpIHsKICAgICAgICAgICAg
IC8vIEp1c3QgYnJlYWsgdXAgaW50byB0d28gc2Nyb2xscyBpZiB3ZSBuZWVkIHRvLiAgRGlhZ29u
YWwgbW92ZW1lbnQgb24gCiAgICAgICAgICAgICAvLyBhIE1hY0Jvb2sgcHJvIGlzIGFuIGV4YW1w
bGUgb2YgYSAyLWRpbWVuc2lvbmFsIG1vdXNlIHdoZWVsIGV2ZW50ICh3aGVyZSBib3RoIGRlbHRh
WCBhbmQgZGVsdGFZIGNhbiBiZSBzZXQpLgogICAgICAgICAgICAgc2Nyb2xsQW5kQWNjZXB0RXZl
bnQoZS5kZWx0YVgoKSwgU2Nyb2xsTGVmdCwgU2Nyb2xsUmlnaHQsIGUsIG5vZGUpOwo=
</data>
<flag name="review"
          id="13400"
          type_id="1"
          status="+"
          setter="simon.fraser"
    />
          </attachment>
      

    </bug>

</bugzilla>