Re: [csswg-drafts] [cssom-view] {element, elements, nodes}FromPoint but without restricting to the viewport clip? (#4122)

Basically, what that page is doing (AIUI) is scanning the DOM for potentially interesting elements, and needs to determine whether they're "visible". getElementsFromPoint is a nice way to ensure that the element is displayed and potentially-visible.

Another use-case (which I read yesterday but forgot the source) is checking whether two things intersect at an arbitrary point. `elementsFromPoint()` at that point works, but only if inside the viewport.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4122#issuecomment-512356727 using your GitHub account

Received on Wednesday, 17 July 2019 16:31:53 UTC