OLD | NEW |
1 Test -webkit-user-select all user select all area Test -webkit-user-select all | 1 Test -webkit-user-select all user select all area Test -webkit-user-select all |
2 Test -webkit-user-select all selection movements and extensions (left right forw
ard backward) | 2 Test -webkit-user-select all selection movements and extensions (left right forw
ard backward) |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 placeCaretBeforeUserSelectAllElement() | 7 placeCaretBeforeUserSelectAllElement() |
8 window.getSelection().modify('extend', 'forward', 'character') | 8 window.getSelection().modify('extend', 'forward', 'character') |
9 FAIL Selection should be the entire user-select-all element at anchorNode: [obje
ct Text] anchorOffset: 0 focusNode: [object Text] focusOffset: 1 | 9 PASS Selection is the entire user-select-all element |
10 window.getSelection().modify('extend', 'backward', 'character') | 10 window.getSelection().modify('extend', 'backward', 'character') |
11 PASS Selection is right before user-select-all element | 11 PASS Selection is right before user-select-all element |
12 window.getSelection().modify('extend', 'right', 'character') | 12 window.getSelection().modify('extend', 'right', 'character') |
13 FAIL Selection should be the entire user-select-all element at anchorNode: [obje
ct Text] anchorOffset: 0 focusNode: [object Text] focusOffset: 1 | 13 PASS Selection is the entire user-select-all element |
14 window.getSelection().modify('extend', 'left', 'character') | 14 window.getSelection().modify('extend', 'left', 'character') |
15 PASS Selection is right before user-select-all element | 15 PASS Selection is right before user-select-all element |
16 window.getSelection().modify('move', 'forward', 'character') | 16 window.getSelection().modify('move', 'forward', 'character') |
17 FAIL Selection should be right after user-select-all element at anchorNode: [obj
ect Text] anchorOffset: 1 focusNode: [object Text] focusOffset: 1 | 17 PASS Selection is right after user-select-all element |
18 window.getSelection().modify('move', 'backward', 'character') | 18 window.getSelection().modify('move', 'backward', 'character') |
19 PASS Selection is right before user-select-all element | 19 PASS Selection is right before user-select-all element |
20 window.getSelection().modify('move', 'right', 'character') | 20 window.getSelection().modify('move', 'right', 'character') |
21 FAIL Selection should be right after user-select-all element at anchorNode: [obj
ect Text] anchorOffset: 1 focusNode: [object Text] focusOffset: 1 | 21 PASS Selection is right after user-select-all element |
22 window.getSelection().modify('move', 'left', 'character') | 22 window.getSelection().modify('move', 'left', 'character') |
23 PASS Selection is right before user-select-all element | 23 PASS Selection is right before user-select-all element |
24 clickAt(descendant.offsetLeft + 10 , descendant.offsetTop + 10) | 24 clickAt(descendant.offsetLeft + 10 , descendant.offsetTop + 10) |
25 FAIL Selection should be the entire user-select-all element at anchorNode: [obje
ct Text] anchorOffset: 1 focusNode: [object Text] focusOffset: 1 | 25 PASS Selection is the entire user-select-all element |
26 mouseMoveFromTo(leftTarget.offsetLeft, descendant.offsetLeft + 20) | 26 mouseMoveFromTo(leftTarget.offsetLeft, descendant.offsetLeft + 20) |
27 FAIL Selection should be the entire user-select-all element plus everything on i
ts left at anchorNode: [object Text] anchorOffset: 0 focusNode: [object Text] fo
cusOffset: 3 | 27 PASS Selection is the entire user-select-all element plus everything on its left |
28 mouseMoveFromTo(userSelectAllElement.offsetLeft + userSelectAllElement.offsetWid
th + rightTarget.offsetWidth, descendant.offsetLeft + 10) | 28 mouseMoveFromTo(userSelectAllElement.offsetLeft + userSelectAllElement.offsetWid
th + rightTarget.offsetWidth, descendant.offsetLeft + 10) |
29 FAIL Selection should be the entire user-select-all element plus everything on i
ts right at anchorNode: [object Text] anchorOffset: 29 focusNode: [object Text]
focusOffset: 1 | 29 PASS Selection is the entire user-select-all element plus everything on its righ
t |
30 PASS Selection is only the text in bold | 30 PASS Selection is only the text in bold |
31 PASS successfullyParsed is true | 31 PASS successfullyParsed is true |
32 | 32 |
33 TEST COMPLETE | 33 TEST COMPLETE |
34 | 34 |
OLD | NEW |