1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:57:44 +00:00

LibWeb: Implement StaticRange

This commit is contained in:
Luke Wilde 2022-01-30 23:37:42 +00:00 committed by Andreas Kling
parent a2acda5669
commit 3d44118595
6 changed files with 93 additions and 0 deletions

View 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;
};