OLD | NEW |
1 This tests moving the caret forward through content of mixed editability. The ca
ret should not be in non-editable piece. | 1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML
> #document to 3 of DIV > BODY > HTML > #document |
2 | 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
4 | 4 EDITING DELEGATE: shouldEndEditingInDOMRange:range from 0 of DIV > BODY > HTML >
#document to 3 of DIV > BODY > HTML > #document |
5 | 5 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification |
6 Move forward line x 1 | 6 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of TD > TR > TBODY >
TABLE > DIV > BODY > HTML > #document to 1 of TD > TR > TBODY > TABLE > DIV > B
ODY > HTML > #document |
7 PASS selection.anchorNode == '[object Text]' is true | 7 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification |
8 PASS selection.anchorOffset is 0 | 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
9 Move backward line x 1 | 9 layer at (0,0) size 800x600 |
10 PASS selection.anchorNode == '[object Text]' is true | 10 RenderView at (0,0) size 800x600 |
11 PASS selection.anchorOffset is 0 | 11 layer at (0,0) size 800x600 |
12 Move forward line x 1 | 12 RenderBlock {HTML} at (0,0) size 800x600 |
13 PASS selection.anchorNode == '[object Text]' is true | 13 RenderBody {BODY} at (8,8) size 784x584 |
14 PASS selection.anchorOffset is 10 | 14 RenderBlock {P} at (0,0) size 784x36 |
15 Move backward line x 1 | 15 RenderText {#text} at (0,0) size 754x36 |
16 PASS selection.anchorNode == '[object Text]' is true | 16 text run at (0,0) width 459: "This tests moving the caret forward thro
ugh content of mixed editability. " |
17 PASS selection.anchorOffset is 10 | 17 text run at (459,0) width 295: "The caret should move down one line fr
om the" |
18 PASS successfullyParsed is true | 18 text run at (0,18) width 470: "editable piece to the editable piece th
at's embedded in a non-editable piece." |
19 | 19 RenderBlock {DIV} at (0,52) size 784x64 |
20 TEST COMPLETE | 20 RenderBlock (anonymous) at (0,0) size 784x18 |
21 | 21 RenderText {#text} at (0,0) size 49x18 |
| 22 text run at (0,0) width 49: "editable" |
| 23 RenderTable {TABLE} at (0,18) size 59x28 [border: (1px outset #808080)] |
| 24 RenderTableSection {TBODY} at (1,1) size 57x26 |
| 25 RenderTableRow {TR} at (0,2) size 57x22 |
| 26 RenderTableCell {TD} at (2,2) size 53x22 [border: (1px inset #8080
80)] [r=0 c=0 rs=1 cs=1] |
| 27 RenderText {#text} at (2,2) size 49x18 |
| 28 text run at (2,2) width 49: "editable" |
| 29 RenderBlock (anonymous) at (0,46) size 784x18 |
| 30 RenderText {#text} at (0,0) size 49x18 |
| 31 text run at (0,0) width 49: "editable" |
| 32 caret: position 0 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0
{TBODY} of child 1 {TABLE} of child 2 {DIV} of body |
OLD | NEW |