mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27:34 +00:00
LibWeb: Add hit testing API in internals
object
Introduces `internals.hitTest(x, y)` that is going to allow us write tests for hit testing :)
This commit is contained in:
parent
22a858a0cb
commit
bf4e2f3e9c
7 changed files with 60 additions and 0 deletions
|
@ -17,6 +17,7 @@ public:
|
|||
virtual ~Internals() override;
|
||||
|
||||
void gc();
|
||||
JS::Object* hit_test(double x, double y);
|
||||
|
||||
private:
|
||||
explicit Internals(JS::Realm&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue