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:
parent
c5769a7033
commit
815934a95d
3 changed files with 25 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue