[Webkit-unassigned] [Bug 60879] touchstart event defined null instead of undefined when touch is not available

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 02:11:00 PST 2011


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





--- Comment #23 from Jani Honkonen <jani.honkonen at digia.com>  2011-12-07 02:10:56 PST ---
(In reply to comment #22)
> The fix is not correct.
> 
> For Qt, the touch handler are defined even if your platform does not have or support touch events. So the event handler is effectively defined, and the value should be null, not undefined.
> 
> I suspect this change could break many feature detection scripts (try Modernizr). I suggest you to recompile QtWebKit without ENABLE_TOUCH_EVENTS.

Yes, for Qt disabling the ENABLE_TOUCH_EVENTS flag will fix this issue but we don't want to do that because we still want to support touch events. From my point of view it's just another workaround.

Could you explain in more detail why do you think the value should be null instead of undefined?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list