RESOLVED FIXED 104509
[Shadow DOM] The MouseEvent offsetX and offsetY attributes must return the coordinates relative to the origin of the padding edge of the relative target after retargeting.
https://bugs.webkit.org/show_bug.cgi?id=104509
Summary [Shadow DOM] The MouseEvent offsetX and offsetY attributes must return the co...
Hayato Ito
Reported 2012-12-09 22:20:21 PST
Shadow DOM spec is updated: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#event-dispatch Section 5.5. > The MouseEvent offsetX and offsetY attributes must return the coordinates relative to the origin of the padding edge of the relative target We should implement this behavior.
Attachments
Add a test (4.69 KB, patch)
2013-01-08 18:37 PST, Hayato Ito
no flags
Hayato Ito
Comment 1 2013-01-08 18:37:15 PST
Created attachment 181818 [details] Add a test
Hayato Ito
Comment 2 2013-01-08 19:08:32 PST
I've filed a bug for the spec about when MouseEvent offsetX and offsetX should be calculated. https://www.w3.org/Bugs/Public/show_bug.cgi?id=20615 Anyway, this patch itself is innocent and safe to land, I think.
WebKit Review Bot
Comment 3 2013-01-08 20:43:03 PST
Comment on attachment 181818 [details] Add a test Clearing flags on attachment: 181818 Committed r139153: <http://trac.webkit.org/changeset/139153>
WebKit Review Bot
Comment 4 2013-01-08 20:43:06 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.