[csswg-drafts] [cssom-view] Possible extensions to elementFromPoint (#11605)

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

== [cssom-view] Possible extensions to elementFromPoint ==
While going through #10992, I realized that Gecko at least has a fair amount of extra extensions for this:

 * The ability of querying for nodes, not just Elements. That's useful with Shadow DOM specifically, because if you just have slotted text you have no way of getting it?
 * The ability of hit testing a whole rect, not just a point. I'm pretty sure other engines need to have that capability as well for `IntersectionObserver` v2 and "fat finger" targetting.

These seems like logical / useful extensions to this (something like `nodesFromRect(...)`?).

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


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

Received on Wednesday, 29 January 2025 23:21:39 UTC