w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
145 stars 52 forks source link

Standardizing event.layerX and event.layerY #193

Closed WebReflection closed 6 years ago

WebReflection commented 6 years ago

I am coming directly from this WHATWG issue, where @annevk rightly pointed me at this repository.

As mentioned in the original ticket, every Web developer that worked with canvas or any DOM element used as drawing surface, would like to use layerX and layerY as already implemented and expose in Chrome and WebKit browsers (probably Firefox too).

Even IE9, up to Edge, expose these properties but in a non de-facto standard way.

It would be awesome to have these two properties that represent same top-left X,Y coordinates system the canvas 2d context, as well as any CSS position, use.

Developers have been using ugly (and slow) workarounds for so many years we hope it's reasonable to ask standardizing these.

Thanks for consideration.

annevk commented 6 years ago

Sorry, I should have searched first. It seems this is #135.

WebReflection commented 6 years ago

1+ year ago last message ... I have a bad feeling about it ...