-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1359397 - Don't allow Selection in nodes not in the document; r=m…
…asayuki This matches the spec and Chrome, and seems to bring us closer to Edge and WebKit as well. It also matches our own behavior for addRange(), which was changed in bug 1341137. For collapse and selectAllChildren, we match the tests and browsers, but the spec is incorrect at the time of this writing: w3c/selection-api#86 The removeAllRanges test hadn't been updated for the spec change. MozReview-Commit-ID: DTK8283k5IP UltraBlame original commit: 0bda6393453ef6ca289a37aa723f87f91160c66f
- Loading branch information
Showing
30 changed files
with
271 additions
and
1,298,307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -254,13 +254,6 @@ | |
/ | ||
SimpleTest | ||
. | ||
expectAssertions | ||
( | ||
1 | ||
) | ||
; | ||
SimpleTest | ||
. | ||
waitForExplicitFinish | ||
( | ||
) | ||
|
Oops, something went wrong.