[BlackBerry] Input Range element expects mouse events
authorcharles.wei@torchmobile.com.cn <charles.wei@torchmobile.com.cn@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 15:57:24 +0000 (15:57 +0000)
committercharles.wei@torchmobile.com.cn <charles.wei@torchmobile.com.cn@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 15:57:24 +0000 (15:57 +0000)
commit34de6cd327782575d07b2cd0a73595c161a0fb25
treeb4e6b69d97c5ce9db0f90f4d2258aa3a6915b622
parent00c28653eba57d8b4b98914d535579e3b6181826
[BlackBerry] Input Range element expects mouse events
https://bugs.webkit.org/show_bug.cgi?id=84571

Reviewed by Antonio Gomes.

.:

Input element with Range type expects mouse events to
drag the handle. Note that Input Range could appear
in both the web page directly, or in some shadow tree,
like the MediaControlTimeline and MediaControlVolume.
* ManualTests/blackberry/slider-thumb-consumes-event.html: Added.

Source/WebKit/blackberry:

Input element with Range type expects mouse events to
drag the handle. Note that Input Range could appear
in both the web page directly, or in some shadow tree,
like the MediaControlTimeline and MediaControlVolume.
* WebKitSupport/TouchEventHandler.cpp:
(BlackBerry::WebKit::isRangeControlElement):
(WebKit):
(BlackBerry::WebKit::elementExpectsMouseEvents):
(BlackBerry::WebKit::shouldConvertTouchToMouse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
ManualTests/blackberry/slider-thumb-consumes-event.html [new file with mode: 0644]
Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebKitSupport/TouchEventHandler.cpp