[w3c/uievents] definition of MouseEvent.clientX and clientY seems wrong (Issue #339)

Hi!  Thanks for your hard work on the standards for the web!

I think I've found some typos in this page, at this location:
https://w3c.github.io/uievents/#dom-mouseevent-clientx

It says:
clientX, of type long, readonly
The horizontal coordinate at which the event occurred relative to the viewport ...

clientY, of type long, readonly
The vertical coordinate at which the event occurred relative to the viewport...

I believe that, instead of viewport, it should say the component (either the target or probably currentTarget).  In fact, this example on the Mozilla site demonstrates it:

https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/clientY#examples


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/339
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/339@github.com>

Received on Friday, 30 December 2022 02:38:43 UTC