1 This test ensures WebKit adjusts or clears the selection when either the start or the end container was modified.
4 PASS: Removing the parent of startContainer moved the offset from 2 to 0
5 PASS: Replacing nodeValue of startContainer moved the offset from 2 to 0
6 PASS: Replacing nodeValue of endContainer moved the offset from 3 to 0
7 PASS: Appending " WebKit" to startContainer did not move selection
8 PASS: Appending " WebKit" to endContainer did not move selection
9 PASS: Inserting " WebKit" to startContainer before the end point did not move selection
10 PASS: Inserting " WebKit" to endContainer before the end point moved the offset from 3 to 10
11 PASS: Inserting " WebKit" to startContainer after the end point did not move selection
12 PASS: Inserting " WebKit" to endContainer after the end point did not move selection
13 PASS: Removing text in startContainer containing the end point moved the offset from 2 to 1
14 PASS: Removing text in endContainer containing the end point moved the offset from 3 to 1
15 PASS: Removing text in startContainer containing the start point moved the offset from 2 to 0
16 PASS: Removing text in endContainer containing the start point moved the offset from 3 to 0
17 PASS: Removing 2 characters in startContainer before the end point moved the offset from 2 to 0
18 PASS: Removing 2 characters in endContainer before the end point moved the offset from 3 to 1
19 PASS: Removing 3 characters at the beginning of startContainer moved the offset from 2 to 0
20 PASS: Removing 3 characters at the beginning of endContainer moved the offset from 3 to 0
21 PASS: Removing text in startContainer after the end point did not move selection
22 PASS: Removing text in endContainer after the end point did not move selection
23 PASS: Replacing text in startContainer containing the end point moved the offset from 2 to 1
24 PASS: Replacing text in endContainer containing the end point moved the offset from 3 to 1
25 PASS: Replacing 2 characters in startContainer by 2 characters before the end point moved the offset from 2 to 0
26 PASS: Replacing 2 characters in endContainer by 2 characters before the end point did not move selection
27 PASS: Replacing 2 characters in startContainer by 1 characters before the end point moved the offset from 2 to 0
28 PASS: Replacing 2 characters in endContainer by 1 characters before the end point moved the offset from 3 to 2
29 PASS: Replacing 2 characters in startContainer by 2 characters after the end point did not move selection
30 PASS: Replacing 2 characters in endContainer by 2 characters after the end point did not move selection
33 PASS: Removing the parent of startContainer moved the offset from 2 to 0
34 PASS: Replacing nodeValue of startContainer moved the offset from 2 to 0
35 PASS: Replacing nodeValue of endContainer moved the offset from 3 to 0
36 PASS: Appending " WebKit" to startContainer did not move selection
37 PASS: Appending " WebKit" to endContainer did not move selection
38 PASS: Inserting " WebKit" to startContainer before the end point did not move selection
39 PASS: Inserting " WebKit" to endContainer before the end point moved the offset from 3 to 10
40 PASS: Inserting " WebKit" to startContainer after the end point did not move selection
41 PASS: Inserting " WebKit" to endContainer after the end point did not move selection
42 PASS: Removing text in startContainer containing the end point moved the offset from 2 to 1
43 PASS: Removing text in endContainer containing the end point moved the offset from 3 to 1
44 PASS: Removing text in startContainer containing the start point moved the offset from 2 to 0
45 PASS: Removing text in endContainer containing the start point moved the offset from 3 to 0
46 PASS: Removing 2 characters in startContainer before the end point moved the offset from 2 to 0
47 PASS: Removing 2 characters in endContainer before the end point moved the offset from 3 to 1
48 PASS: Removing 3 characters at the beginning of startContainer moved the offset from 2 to 0
49 PASS: Removing 3 characters at the beginning of endContainer moved the offset from 3 to 0
50 PASS: Removing text in startContainer after the end point did not move selection
51 PASS: Removing text in endContainer after the end point did not move selection
52 PASS: Replacing text in startContainer containing the end point moved the offset from 2 to 1
53 PASS: Replacing text in endContainer containing the end point moved the offset from 3 to 1
54 PASS: Replacing 2 characters in startContainer by 2 characters before the end point moved the offset from 2 to 0
55 PASS: Replacing 2 characters in endContainer by 2 characters before the end point did not move selection
56 PASS: Replacing 2 characters in startContainer by 1 characters before the end point moved the offset from 2 to 0
57 PASS: Replacing 2 characters in endContainer by 1 characters before the end point moved the offset from 3 to 2
58 PASS: Replacing 2 characters in startContainer by 2 characters after the end point did not move selection
59 PASS: Replacing 2 characters in endContainer by 2 characters after the end point did not move selection