mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 15:26:07 +00:00
Bug 1465923 [wpt PR 9829] - Update the selection-api IDL file, a=testonly
Automatic update from web-platform-testsUpdate the selection-api IDL file (#9829) -- wpt-commits: 79e45ec83e0416793fdb6c59cd95d0acab63e5f4 wpt-pr: 9829
This commit is contained in:
parent
88cae4c9ab
commit
1823830ee6
@ -586253,7 +586253,7 @@
|
||||
"support"
|
||||
],
|
||||
"interfaces/selection-api.idl": [
|
||||
"f9f483a150b0e918f653f6ce4e84eb9c044d921f",
|
||||
"c8c9e45b541e511673dbe8ddd1321dceef2856b4",
|
||||
"support"
|
||||
],
|
||||
"interfaces/sensors.idl": [
|
||||
|
@ -1,36 +1,35 @@
|
||||
// http://w3c.github.io/selection-api/#selection-interface
|
||||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content of this file was automatically extracted from the Selection API spec.
|
||||
// See https://w3c.github.io/selection-api/
|
||||
|
||||
interface Selection {
|
||||
readonly attribute Node? anchorNode;
|
||||
readonly attribute Node? anchorNode;
|
||||
readonly attribute unsigned long anchorOffset;
|
||||
readonly attribute Node? focusNode;
|
||||
readonly attribute Node? focusNode;
|
||||
readonly attribute unsigned long focusOffset;
|
||||
readonly attribute boolean isCollapsed;
|
||||
readonly attribute boolean isCollapsed;
|
||||
readonly attribute unsigned long rangeCount;
|
||||
readonly attribute DOMString type;
|
||||
Range getRangeAt(unsigned long index);
|
||||
void addRange(Range range);
|
||||
void removeRange(Range range);
|
||||
void removeAllRanges();
|
||||
void empty();
|
||||
void collapse(Node? node, optional unsigned long offset = 0);
|
||||
void setPosition(Node? node, optional unsigned long offset = 0);
|
||||
void collapseToStart();
|
||||
void collapseToEnd();
|
||||
void extend(Node node, optional unsigned long offset = 0);
|
||||
void setBaseAndExtent(Node anchorNode,
|
||||
unsigned long anchorOffset,
|
||||
Node focusNode,
|
||||
unsigned long focusOffset);
|
||||
void selectAllChildren(Node node);
|
||||
readonly attribute DOMString type;
|
||||
Range getRangeAt(unsigned long index);
|
||||
void addRange(Range range);
|
||||
void removeRange(Range range);
|
||||
void removeAllRanges();
|
||||
void empty();
|
||||
void collapse(Node? node, optional unsigned long offset = 0);
|
||||
void setPosition(Node? node, optional unsigned long offset = 0);
|
||||
void collapseToStart();
|
||||
void collapseToEnd();
|
||||
void extend(Node node, optional unsigned long offset = 0);
|
||||
void setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
|
||||
void selectAllChildren(Node node);
|
||||
[CEReactions]
|
||||
void deleteFromDocument();
|
||||
boolean containsNode(Node node,
|
||||
optional boolean allowPartialContainment = false);
|
||||
void deleteFromDocument();
|
||||
boolean containsNode(Node node, optional boolean allowPartialContainment = false);
|
||||
stringifier DOMString ();
|
||||
};
|
||||
|
||||
partial interface Document {
|
||||
Selection? getSelection();
|
||||
Selection ? getSelection();
|
||||
};
|
||||
|
||||
partial interface Window {
|
||||
|
Loading…
x
Reference in New Issue
Block a user