mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +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
Notes:
sideshowbarker
2024-07-17 22:41:14 +09:00
Author: https://github.com/DerpyCrabs
Commit: 2f828231c4
Pull-request: https://github.com/SerenityOS/serenity/pull/12458
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