Source code

Revision control

Copy as Markdown

Other Tools

[selection-preserve.html]
[moveBefore should not reset selection with preceding text]
expected: FAIL
[moveBefore should not reset selection with preceding text]
expected: FAIL
[moveBefore anchor node moved up to expand selection and absorb nodes]
expected: FAIL
[moveBefore move intersecting nodes out of a selection]
expected: FAIL
[moveBefore resets selection that enters a subtree, when the whole selection is moved]
expected: FAIL
[moveBefore focus node moved up to shrink selection and exclude nodes; focus node gets reset]
expected: FAIL
[moveBefore selection is not preserved, especially when underlying range gets inverted]
expected: FAIL