| OLD | NEW |
| 1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML
> #document to 3 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: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 6 EDITING DELEGATE: shouldDeleteDOMRange:range from 4 of #text > DIV > DIV > BODY
> HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document | |
| 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > DIV
> BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document t
oDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 7 of #t
ext > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream
stillSelecting:FALSE | |
| 11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 13 Tests: | 9 Tests: |
| 14 Option-delete when no typing command is open, then undo. | 10 Option-delete when no typing command is open, then undo. |
| 15 Expected Results: | 11 Expected Results: |
| 16 It should like this, with the word "two" selected: | 12 It should like this, with the word "two" selected: |
| 17 one two three four | 13 one two three four |
| 18 one two three four | 14 one two three four |
| 19 DeleteWord: <div id="test" class="editing">one three four</div> | 15 DeleteWord: <div id="test" class="editing">one three four</div> |
| 20 execUndoCommand: <div id="test" class="editing">one two three four</div> | 16 execUndoCommand: <div id="test" class="editing">one two three four</div> |
| OLD | NEW |