mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 18:47:15 +02: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" >
|