mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
24 lines
626 B
Text
24 lines
626 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content of this file was automatically extracted from the Static Range spec.
|
|
// See https://w3c.github.io/staticrange/
|
|
|
|
dictionary StaticRangeInit {
|
|
required Node startContainer;
|
|
required unsigned long startOffset;
|
|
required Node endContainer;
|
|
required unsigned long endOffset;
|
|
};
|
|
|
|
[Constructor(StaticRangeInit initDict),
|
|
Exposed=Window]
|
|
interface StaticRange {
|
|
attribute Node startContainer;
|
|
attribute unsigned long startOffset;
|
|
|
|
attribute Node endContainer;
|
|
attribute unsigned long endOffset;
|
|
|
|
readonly attribute boolean collapsed;
|
|
|
|
[NewObject] Range toRange();
|
|
};
|