| OLD | NEW |
| 1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML
> #document to 1 of DIV > BODY > HTML > #document | |
| 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification | |
| 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 5 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BOD
Y > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:ra
nge from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV >
DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelect
ing:FALSE | |
| 6 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 8 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification | |
| 9 This tests for a bug where pasted content starting with an interchange newline w
ould end up | 5 This tests for a bug where pasted content starting with an interchange newline w
ould end up |
| 10 outside of the editable region where it was pasted. You should see 'foo\nbar' be
low. | 6 outside of the editable region where it was pasted. You should see 'foo\nbar' be
low. |
| 11 | " | 7 | " |
| 12 " | 8 " |
| 13 | <div> | 9 | <div> |
| 14 | contenteditable="true" | 10 | contenteditable="true" |
| 15 | id="test" | 11 | id="test" |
| 16 | "foo" | 12 | "foo" |
| 17 | <div> | 13 | <div> |
| 18 | "bar<#selection-caret>" | 14 | "bar<#selection-caret>" |
| 19 | <br> | 15 | <br> |
| 20 | " | 16 | " |
| 21 non-editable | 17 non-editable |
| 22 " | 18 " |
| 23 | <script> | 19 | <script> |
| 24 | " | 20 | " |
| 25 runTest(); | 21 runTest(); |
| 26 " | 22 " |
| OLD | NEW |