Skip to content

MouseEvent.layerX/layerY #37

Closed
Closed

Description

@emilio

Description
The MouseEvent.layerX and layerY properties are implemented everywhere but right now they're not interoperable and cause compat pain.

Right now, they depend on internal layerization details in WebKit and Blink (which are different and subject to change). Gecko's definition is somewhat reasonable but of course doesn't match those.

Bug reports
webcompat/web-bugs#94500 is a fairly-recent one.

Specification
None (that's the problem!) but I have a reasonable (I think) proposal here.

Tests
None (also a problem!) but I'm happy to write some if we agree on a definition.

This is a bug to include in w3c/uievents#9

Note that I wasn't sure this was suitable for the compat-2022 effort because of the lack of spec right now, but I think it's a relatively minor feature such as that it shouldn't be hard to come up with a proper spec during the next months.

Activity

  1. added
    compat-bug-proposal
    on Nov 30, 2021
  2. foolip commented on Dec 10, 2021

    @foolip
    Member

    Per #39 (comment) we're not including this in Interop 2022, due to the lack or spec and tests.

    However, convergence on this is a good idea. The group needs to decide if we're going to track that work as part of Interop 2022 or not. Regardless, next steps seem to be responding to w3c/pointerevents#626 (comment).

  3. added this to the Interop 2022 milestone on Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compat-bug-proposal

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions