[Webkit-unassigned] [Bug 56606] event.clientX/clientY is 0/0 in a click generated through a label

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 17 16:07:34 PDT 2011


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


Erik Arvidsson <arv at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[Chromium] event.clientX/Y  |event.clientX/clientY is
                   |contains (-scrollX,         |0/0 in a click generated
                   |-scrollY) for clicking on   |through a label
                   |radio/checkbox label span   |
             Status|UNCONFIRMED                 |ASSIGNED
          Component|New Bugs                    |Event Handling
         AssignedTo|webkit-unassigned at lists.web |arv at chromium.org
                   |kit.org                     |
     Ever Confirmed|0                           |1




--- Comment #1 from Erik Arvidsson <arv at chromium.org>  2011-05-17 16:07:34 PST ---
Given a label for an input. When the user clicks the label we generate a simulated click event on the input. However, this event has all its coordinates set to 0.

I have a fix for this where we use the coordinates of the underlying event for simulated clicks.

-- 
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