Skip to content
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

Closed
WebReflection opened this issue Apr 5, 2018 · 2 comments
Closed

Standardizing event.layerX and event.layerY #193

WebReflection opened this issue Apr 5, 2018 · 2 comments

Comments

@WebReflection
Copy link

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
Copy link
Member

annevk commented Apr 5, 2018

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

@WebReflection
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants