ladybird/Userland/Libraries/LibWeb/DOM/StaticRange.idl
Jelle Raaijmakers d5fd29adb7 LibWeb: Update DOM IDL specs
I noticed some of these were running behind the upstream spec.
2024-10-14 11:57:58 -04:00

16 lines
432 B
Text

#import <DOM/Node.idl>
#import <DOM/AbstractRange.idl>
// https://dom.spec.whatwg.org/#dictdef-staticrangeinit
dictionary StaticRangeInit {
required Node startContainer;
required unsigned long startOffset;
required Node endContainer;
required unsigned long endOffset;
};
// https://dom.spec.whatwg.org/#staticrange
[Exposed=Window]
interface StaticRange : AbstractRange {
constructor(StaticRangeInit init);
};