mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibWeb: Bring HTMLElement.offset{Left,Top,Parent} closer to spec
(Or rather, bring offsetLeft and offsetTop closer to spec, and implement the previously-missing offsetParent) This makes mouse inputs on https://nerget.com/fluidSim/ work properly.
This commit is contained in:
parent
43e9dc0500
commit
cfe9577b48
5 changed files with 143 additions and 14 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
int offset_left() const;
|
||||
int offset_width() const;
|
||||
int offset_height() const;
|
||||
JS::GCPtr<Element> offset_parent() const;
|
||||
|
||||
bool cannot_navigate() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue