1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

LibWeb: Support HTMLElement.offset{Width,Height}

This commit is contained in:
Andreas Kling 2021-09-30 01:35:19 +02:00
parent 840822b8f1
commit 439be913cf
3 changed files with 27 additions and 4 deletions

View file

@ -31,8 +31,10 @@ public:
String inner_text();
void set_inner_text(StringView);
unsigned offset_top() const;
unsigned offset_left() const;
int offset_top() const;
int offset_left() const;
int offset_width() const;
int offset_height() const;
bool cannot_navigate() const;