1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +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

@ -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;