mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 08:25:07 +00:00

This function uses our existing hit testing code to determine the topmost element at the given coordinates relative to the viewport.
5 lines
162 B
Text
5 lines
162 B
Text
Negative coordinates return null: true
|
|
Coordinates outside the viewport return null: true
|
|
<HTML id="root-element" >
|
|
<DIV id="large-box" >
|
|
<DIV id="small-box" >
|