[Webkit-unassigned] [Bug 144451] [iOS] DOM click event may not be dispatched when page has :active style and <input type="search">

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 16:25:40 PDT 2015


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

--- Comment #3 from Daniel Bates <dbates at webkit.org> ---
On iOS we only dispatch a DOM click event if the content does not change as part of dispatching a DOM mousemove event at the tapped element. In particular, we do not dispatch a DOM click event if there is a visibility change to some element on the page as part of dispatching a mousemove event at the tapped element. Notice that we update the active state of elements as part of dispatching a mousemove event, forcing a full a style recalculation of affected elements, including setting its CSS property visibility to visible. And we update the visibility of the cancel button whenever its CSS property visibility disagrees with the CSS property visibility of its associated search field or the value of the search field changes. So, we always update the visibility of the cancel button since its CSS property visibility changes when updating the active state of the HTML body; => the content of the page changed => we do not dispatch a DOM click event.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151013/afea6dbe/attachment-0001.html>


More information about the webkit-unassigned mailing list