Skip to content

Commit

Permalink
fix: [capricorn86#1400] Implement document.elementFromPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
TreyVigus committed Apr 27, 2024
1 parent 53a0257 commit 8790b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/happy-dom/src/nodes/document/Document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ export default class Document extends Node {
*
* @param _x horizontal coordinate
* @param _y vertical coordinate
* @returns Always returns null since Happy DOM does not render elements and therefore cannot determine which element is at a given point.
* @returns Always returns null since Happy DOM does not render elements.
*/
public elementFromPoint(_x: number, _y: number): Element | null {
return null;
Expand Down

0 comments on commit 8790b58

Please sign in to comment.