1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:37:46 +00:00

LibWeb: Expose the HTMLElement::{offsetLeft, offsetTop} attributes

These describe the border box of an element relative to their parent.
This commit is contained in:
Idan Horowitz 2021-04-15 20:48:55 +03:00 committed by Andreas Kling
parent c5769a7033
commit 815934a95d
3 changed files with 25 additions and 1 deletions

View file

@ -50,6 +50,9 @@ public:
String inner_text();
void set_inner_text(StringView);
unsigned offset_top() const;
unsigned offset_left() const;
bool cannot_navigate() const;
protected: