OLD | NEW |
1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML
> #document to 5 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: shouldInsertNode:#document-fragment replacingDOMRange:range fr
om 0 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV >
BODY > HTML > #document givenAction:WebViewInsertActionPasted | |
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
8 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY
> HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range
from 2 of TD > TR > TBODY > TABLE > DIV > DIV > BODY > HTML > #document to 2 of
TD > TR > TBODY > TABLE > DIV > DIV > BODY > HTML > #document affinity:NSSelecti
onAffinityDownstream stillSelecting:FALSE | |
9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
10 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
11 This tests pasting a table to replace some text. It demonstrates two bugs: 1) se
lecting a table without also selecting the line break after programmatically is
impossible when its followed by a div because of the way DOM positions are mappe
d to visible positions, 2) pasting content that ends in a table places the caret
in the last table cell instead of after the table, so the interchange newline i
s placed in the last table cell and not after the table. | 7 This tests pasting a table to replace some text. It demonstrates two bugs: 1) se
lecting a table without also selecting the line break after programmatically is
impossible when its followed by a div because of the way DOM positions are mappe
d to visible positions, 2) pasting content that ends in a table places the caret
in the last table cell instead of after the table, so the interchange newline i
s placed in the last table cell and not after the table. |
12 | 8 |
13 one two | 9 one two |
14 one two | 10 one two |
15 | 11 |
16 execCopyCommand: <table id="test"> <tbody><tr><td>one</td><td>two</td></tr></tbo
dy></table> <div id="target">replaceme</div> | 12 execCopyCommand: <table id="test"> <tbody><tr><td>one</td><td>two</td></tr></tbo
dy></table> <div id="target">replaceme</div> |
17 execPasteCommand: <table id="test"> <tbody><tr><td>one</td><td>two</td></tr></tb
ody></table> <div id="target"><table id="test"><tbody><tr><td>one</td><td>two<br
><br></td></tr></tbody></table></div> | 13 execPasteCommand: <table id="test"> <tbody><tr><td>one</td><td>two</td></tr></tb
ody></table> <div id="target"><table id="test"><tbody><tr><td>one</td><td>two<br
><br></td></tr></tbody></table></div> |
OLD | NEW |