LibWeb: Support HTMLElement.offset{Width,Height}

This commit is contained in:
Andreas Kling 2021-09-30 01:35:19 +02:00
commit 439be913cf
Notes: sideshowbarker 2024-07-18 03:18:50 +09:00
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;