Missing OffsetX and OffsetY in Touch spec #449
-
Hi, Mouse events provide us with various information about the mouse position including the very useful "OffsetX" and "OffsetY", the mouse position relative to the DOM element that emitted the event. I don't see any reason for these 2 to be omitted, and the fact that they are missing from the MDN Doc is actively blocking its implementation in frameworks such as dotnet (dotnet/aspnetcore#41619 (comment)) I think they should either be added, or a good reason for their omission be displayed in the Touch documentation :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @Inspirateur. The |
Beta Was this translation helpful? Give feedback.
-
See also: w3c/touch-events#62. |
Beta Was this translation helpful? Give feedback.
Hey @Inspirateur. The
offsetX
andoffsetY
attributes are not listed in the spec. So we will not document them. MDN will document features that have been implemented by browsers or be listed in specifications. If you want MDN to document these attributes, perhaps you should check or open an issue in the spec repo.