mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
This function uses our existing hit testing code to determine the topmost element at the given coordinates relative to the viewport.
6 lines
162 B
Plaintext
6 lines
162 B
Plaintext
Negative coordinates return null: true
|
|
Coordinates outside the viewport return null: true
|
|
<HTML id="root-element" >
|
|
<DIV id="large-box" >
|
|
<DIV id="small-box" >
|