Bug 20331

Summary: REGRESSION(r35177-r35203): Scrolling slowly over a scrollable field scrolls the page instead of the field
Product: WebKit Reporter: Gavin Sherlock <gsherloc>
Component: New BugsAssignee: Maxime Britto <maxime.britto>
Status: RESOLVED FIXED    
Severity: Normal CC: maxime.britto
Priority: P1 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://en.wikipedia.org/w/index.php?title=Yao_Ming&action=edit
Attachments:
Description Flags
patch adele: review+

Description Gavin Sherlock 2008-08-08 08:42:11 PDT
Steps to reproduce:

1.  Go to a page with a scrolling field, e.g. a text field, or a select list, such as:

http://en.wikipedia.org/w/index.php?title=Yao_Ming&action=edit

2.  Put cursor over scrolling field
3.  Scroll slowly, using a scroll wheel

Expected results:

Field under cursor will scroll

Actual Results:

Page scrolls

Note, it you scroll faster, then the field scrolls, as it should.

Regression:  Yes, because it works as expected in Safari  3.1.2 (5525.20.1).  Tested in r35636 on 10.5.4 on a MacPro
Comment 1 Gavin Sherlock 2008-08-08 11:20:32 PDT
This works as expected in r35177, but not in r35203.

I suspect http://trac.webkit.org/changeset/35190
Comment 2 Mark Rowe (bdash) 2008-08-08 14:27:03 PDT
<rdar://problem/6137022>
Comment 3 Maxime Britto 2008-08-08 15:55:24 PDT
I'll take a look into this.
The weird thing is, I can only repro it with a pc mouse wheel, with the mighty mouse I can't.
Comment 4 Maxime Britto 2008-08-08 16:31:22 PDT
Created attachment 22714 [details]
patch
Comment 5 Maxime Britto 2008-08-08 16:41:35 PDT
fixed in r35647