[BlackBerry] FatFingers Don't check the shadow tree for all elements.

https://bugs.webkit.org/show_bug.cgi?id=114066

Patch by Tiancheng Jiang <tijiang@rim.com> on 2013-04-05
Reviewed by Rob Buis.

BlackBerry PR 263078
Internally reviewed by Genevieve Mak.

No need to check shadow tree since sliders use touch events.

* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::isElementClickable):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fc6af6b0
2013-04-05 Tiancheng Jiang <tijiang@rim.com>
[BlackBerry] FatFingers Don't check the shadow tree for all elements.
https://bugs.webkit.org/show_bug.cgi?id=114066
Reviewed by Rob Buis.
BlackBerry PR 263078
Internally reviewed by Genevieve Mak.
No need to check shadow tree since sliders use touch events.
* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::isElementClickable):
2013-04-05 Zan Dobersek <zdobersek@igalia.com>
Remove WTF_USE_GOOGLEURL-guarded code
......
......@@ -95,9 +95,6 @@ bool FatFingers::isElementClickable(Element* element) const
|| element->isContentEditable())
return true;
if (element->isInShadowTree())
return false;
return hasMousePressListener(element)
|| CSSComputedStyleDeclaration::create(element)->getPropertyValue(cssPropertyID("cursor")) == "pointer";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment