mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 17:37:30 +09:00
moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
https://github.com/MoonchildProductions/moebius/pull/121
This commit is contained in:
parent
f0c237ae6d
commit
9db39c42c0
10 changed files with 43 additions and 32 deletions
|
|
@ -33,6 +33,7 @@ interface Selection {
|
|||
void deleteFromDocument();
|
||||
|
||||
readonly attribute unsigned long rangeCount;
|
||||
readonly attribute DOMString type;
|
||||
[Throws]
|
||||
Range getRangeAt(unsigned long index);
|
||||
[Throws]
|
||||
|
|
@ -77,7 +78,7 @@ partial interface Selection {
|
|||
void removeSelectionListener(nsISelectionListener listenerToRemove);
|
||||
|
||||
[ChromeOnly,BinaryName="rawType"]
|
||||
readonly attribute short type;
|
||||
readonly attribute short selectionType;
|
||||
|
||||
[ChromeOnly,Throws,Pref="dom.testing.selection.GetRangesForInterval"]
|
||||
sequence<Range> GetRangesForInterval(Node beginNode, long beginOffset, Node endNode, long endOffset,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue