[csswg-drafts] [cssom-view] Track the pseudo element target in MouseEvent (#7558)

vmpstr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] Track the pseudo element target in MouseEvent ==
The cssom-view spec provides some [extensions to MouseEvent interface](https://drafts.csswg.org/cssom-view/#extensions-to-the-mouseevent-interface). In some cases it's desirable to know which pseudo element is hit. For example, in Shared Element Transitions, the pseudo tree's originating element is the root element, so the hit test would be routed there without any knowledge of what pseudo element was actually hit.

Is it possible to add something like `pseudo` or `pseudoTarget` field that would contain a string name of the pseudo element that was hit by the mouse event (blank if none)?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7558 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 2 August 2022 18:01:12 UTC