1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

LibWeb: Implement Geometry::DOMRectList

Implement DOMRectList that is used as a return type of
getClientRects functions on Element and Range.
This commit is contained in:
DerpyCrabs 2022-02-12 16:38:54 +03:00 committed by Andreas Kling
parent 0532d7d255
commit 2f828231c4
7 changed files with 101 additions and 0 deletions

View file

@ -0,0 +1,6 @@
[Exposed=Window]
interface DOMRectList {
getter DOMRect? item(unsigned long index);
readonly attribute unsigned long length;
iterable<DOMRect>;
};