[webkit-reviews] review requested: [Bug 8707] event.clientX and event.clientY should be relative to the viewport, not the canvas : [Attachment 8939] Now with testcase

bugzilla-request-daemon at opendarwin.org bugzilla-request-daemon at opendarwin.org
Wed Jun 21 00:54:41 PDT 2006


Rob Buis <rwlbuis at xs4all.nl> has asked	for review:
Bug 8707: event.clientX and event.clientY should be relative to the viewport,
not the canvas
http://bugzilla.opendarwin.org/show_bug.cgi?id=8707

Attachment 8939: Now with testcase
http://bugzilla.opendarwin.org/attachment.cgi?id=8939&action=edit

------- Additional Comments from Rob Buis <rwlbuis at xs4all.nl>
The new patch fixes the problem, also I added a testcase which tests all window
xy props.
Another option is to add setClientX/setClientY to MouseRelatedEvent, let me
know what is
the best choice and whether there is an even better solution. Also I can format
the code a
bit, just wanted to know first whether the approach was right.
Cheers,

Rob.



More information about the webkit-reviews mailing list