diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-30 01:35:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-30 01:35:19 +0200 |
commit | 439be913cf65c9f4928d30904bdc3f24280356f1 (patch) | |
tree | 068a46d13fbfd7799b240d589d28d77a47b34113 /Userland/Libraries/LibWeb/HTML/HTMLElement.idl | |
parent | 840822b8f100bac14a3ad0ac94f87912da1abd1e (diff) | |
download | serenity-439be913cf65c9f4928d30904bdc3f24280356f1.zip |
LibWeb: Support HTMLElement.offset{Width,Height}
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLElement.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLElement.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl index d9db6724b1..c9ed5ce4ee 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl @@ -11,6 +11,8 @@ interface HTMLElement : Element { readonly attribute long offsetTop; readonly attribute long offsetLeft; + readonly attribute long offsetWidth; + readonly attribute long offsetHeight; // FIXME: This should come from a HTMLOrSVGElement mixin [SameObject] readonly attribute DOMStringMap dataset; |