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:
parent
0532d7d255
commit
2f828231c4
7 changed files with 101 additions and 0 deletions
6
Userland/Libraries/LibWeb/Geometry/DOMRectList.idl
Normal file
6
Userland/Libraries/LibWeb/Geometry/DOMRectList.idl
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Exposed=Window]
|
||||
interface DOMRectList {
|
||||
getter DOMRect? item(unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
iterable<DOMRect>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue