[Webkit-unassigned] [Bug 139681] Touch support is reported even when the device doesn't have a touch screen
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 18 09:31:46 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139681
Carlos Garcia Campos <cgarcia at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #243496| |review?
Flags| |
--- Comment #6 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 243496
--> https://bugs.webkit.org/attachment.cgi?id=243496&action=review
Patch
This disables touch events at run time, but "ontouchstart" in window would still return true. I still think the right check should be something like "ontouchstart" in window && typeof window.ontouchstart != 'undefined' to check both that wk is compiled with touch events enabled and that there's a touchscreen connected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141218/f7cc2890/attachment-0002.html>
More information about the webkit-unassigned
mailing list