- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jul 2019 16:31:50 +0000
- To: public-css-archive@w3.org
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