mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 891340 - Make Range.collapse optional and default to false
This commit is contained in:
parent
b1ea45059a
commit
cf4d389c4e
@ -334,7 +334,7 @@ interface Range {
|
|||||||
void setStartAfter(Node refNode);
|
void setStartAfter(Node refNode);
|
||||||
void setEndBefore(Node refNode);
|
void setEndBefore(Node refNode);
|
||||||
void setEndAfter(Node refNode);
|
void setEndAfter(Node refNode);
|
||||||
void collapse(boolean toStart);
|
void collapse(optional boolean toStart = false);
|
||||||
void selectNode(Node refNode);
|
void selectNode(Node refNode);
|
||||||
void selectNodeContents(Node refNode);
|
void selectNodeContents(Node refNode);
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ interface Range {
|
|||||||
void setEndBefore(Node refNode);
|
void setEndBefore(Node refNode);
|
||||||
[Throws]
|
[Throws]
|
||||||
void setEndAfter(Node refNode);
|
void setEndAfter(Node refNode);
|
||||||
void collapse(boolean toStart);
|
void collapse(optional boolean toStart = false);
|
||||||
[Throws]
|
[Throws]
|
||||||
void selectNode(Node refNode);
|
void selectNode(Node refNode);
|
||||||
[Throws]
|
[Throws]
|
||||||
|
Loading…
Reference in New Issue
Block a user