| 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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > DIV >
BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOM
Range:range from 1 of #text > DIV > DIV > DIV > BODY > HTML > #document to 6 of
#text > DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffi
nityDownstream stillSelecting:FALSE | |
| 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 6 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > DIV >
BODY > HTML > #document to 6 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #
document | |
| 7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > DIV >
BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOM
Range:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DI
V > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSe
lecting:FALSE | |
| 8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 4 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 10 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range fr
om 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY
> HTML > #document givenAction:WebViewInsertActionPasted | |
| 11 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of DIV > DIV > DIV >
BODY > HTML > #document to 2 of DIV > DIV > DIV > BODY > HTML > #document toDOM
Range:range from 5 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document to
5 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelecti
onAffinityDownstream stillSelecting:FALSE | |
| 12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
| 13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| 14 Problem: copy/pasting some HTML including tables can give rise to a <div> elemen
t as the first child of the table element. This is invalid. | 7 Problem: copy/pasting some HTML including tables can give rise to a <div> elemen
t as the first child of the table element. This is invalid. |
| 15 abcdef | 8 abcdef |
| 16 foo bar | 9 foo bar |
| 17 ghijk | 10 ghijk |
| 18 <div id="test" class="editing"> <div>abcdef<div style="text-align: center;"><tab
le><tbody><tr><td>foo</td><td>bar</td></tr></tbody></table>ghijk</div> </div> </
div> | 11 <div id="test" class="editing"> <div>abcdef<div style="text-align: center;"><tab
le><tbody><tr><td>foo</td><td>bar</td></tr></tbody></table>ghijk</div> </div> </
div> |
| OLD | NEW |