gecko-dev/testing/web-platform/tests/selection
Aryeh Gregor 99a150fe57 Bug 1359397 - Don't allow Selection in nodes not in the document; r=masayuki
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:
https://github.com/w3c/selection-api/pull/86

The removeAllRanges test hadn't been updated for the spec change.

MozReview-Commit-ID: DTK8283k5IP

--HG--
extra : rebase_source : 54701e7136c33ebce651d5f74c3dc1d8b944f9a3
2017-08-10 15:02:08 +03:00
..
Document-open.html
OWNERS
addRange-00.html
addRange-04.html
addRange-08.html
addRange-12.html
addRange-16.html
addRange-20.html
addRange-24.html
addRange-28.html
addRange-32.html
addRange-36.html
addRange-40.html
addRange-44.html
addRange-48.html
addRange-52.html
addRange-56.html
addRange.js Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
collapse-00.html Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00
collapse-15.html Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00
collapse-30.html Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00
collapse-45.html Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00
collapse.js Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00
collapseToStartEnd.html Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
common.js Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
deleteFromDocument.html
dir-manual.html
extend-00.html
extend-20.html
extend-40.html
extend.js Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
getRangeAt.html
getSelection.html
interfaces.html Bug 1359371 - Update Selection.webidl to match spec r=smaug 2017-04-25 14:55:31 +03:00
isCollapsed.html Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly 2017-03-17 14:34:25 +00:00
removeAllRanges.html Bug 1359397 - Don't allow Selection in nodes not in the document; r=masayuki 2017-08-10 15:02:08 +03:00
removeRange.html Bug 1359453 - Use standard exception for selection.removeRange() r=masayuki 2017-04-26 15:50:36 +03:00
selectAllChildren.html Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
setBaseAndExtent.html Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly 2017-02-20 11:52:05 +00:00
test-iframe.html
type.html Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly 2017-05-11 18:01:46 +01:00