-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardizing event.layerX and event.layerY #193
Comments
Sorry, I should have searched first. It seems this is #135. |
1+ year ago last message ... I have a bad feeling about it ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
andlayerY
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.
The text was updated successfully, but these errors were encountered: