[Webkit-unassigned] [Bug 9605] REGRESSION: pageX and pageY are both 0 for events created with initMouseEvent

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jun 27 13:43:14 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9605


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #9066|review?                     |review-
               Flag|                            |




------- Comment #5 from darin at apple.com  2006-06-27 13:43 PDT -------
(From update of attachment 9066)
I think it's pretty ugly to have two different initCoordinates functions, but I
think this will work right.

Ultimately we could change this all so that pageX/Y is always computed from
clientX/Y. The only reason it's not like that today is Macintosh-specific
stuff: the "viewport" coordinates for the web view are actually window
coordinates on OS X so they can't be used directly for clientX/Y. Otherwise,
we'd go change all the callers to pass in clientX/Y and the code would all
match. It would be great to straighten that out some day.

Patch needs to include the patch to the test results too, though.

r=me, but review- because we need a patch that includes
fast/dom/window-xy-properties-expected.txt.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list