summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Selection/collapseToX-empty-selection-expected.txt
blob: 1a77f9319e8195b9fd35ad9e2ce658e4e4ad88c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no selection is made.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS sel.collapseToStart() threw exception Error: INVALID_STATE_ERR: DOM Exception 11.
PASS sel.collapseToEnd() threw exception Error: INVALID_STATE_ERR: DOM Exception 11.
PASS sel.collapseToStart() is undefined
PASS sel.collapseToEnd() is undefined
PASS successfullyParsed is true

TEST COMPLETE