mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
LibWeb: Support Element.client{Top,Left,Width,Height}
This commit is contained in:
parent
9d852623f2
commit
3006e15c94
3 changed files with 42 additions and 0 deletions
|
@ -58,6 +58,11 @@ public:
|
|||
|
||||
DOM::ExceptionOr<bool> matches(StringView selectors) const;
|
||||
|
||||
int client_top() const;
|
||||
int client_left() const;
|
||||
int client_width() const;
|
||||
int client_height() const;
|
||||
|
||||
template<typename Callback>
|
||||
void for_each_attribute(Callback callback) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue