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 setEndBefore(Node refNode);
|
||||
void setEndAfter(Node refNode);
|
||||
void collapse(boolean toStart);
|
||||
void collapse(optional boolean toStart = false);
|
||||
void selectNode(Node refNode);
|
||||
void selectNodeContents(Node refNode);
|
||||
|
||||
|
@ -38,7 +38,7 @@ interface Range {
|
||||
void setEndBefore(Node refNode);
|
||||
[Throws]
|
||||
void setEndAfter(Node refNode);
|
||||
void collapse(boolean toStart);
|
||||
void collapse(optional boolean toStart = false);
|
||||
[Throws]
|
||||
void selectNode(Node refNode);
|
||||
[Throws]
|
||||
|
Loading…
Reference in New Issue
Block a user