mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibWeb: Implement StaticRange
This commit is contained in:
parent
a2acda5669
commit
3d44118595
6 changed files with 93 additions and 0 deletions
14
Userland/Libraries/LibWeb/DOM/StaticRange.idl
Normal file
14
Userland/Libraries/LibWeb/DOM/StaticRange.idl
Normal file
|
@ -0,0 +1,14 @@
|
|||
#import <DOM/Node.idl>
|
||||
#import <DOM/AbstractRange.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
interface StaticRange : AbstractRange {
|
||||
constructor(StaticRangeInit init);
|
||||
};
|
||||
|
||||
dictionary StaticRangeInit {
|
||||
required Node startContainer;
|
||||
required unsigned long startOffset;
|
||||
required Node endContainer;
|
||||
required unsigned long endOffset;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue