| EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document |
| EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > LI > UL > DIV > DIV > BODY > HTML > #document to 14 of #text > LI > UL > DIV > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted |
| EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of UL > DIV > DIV > BODY > HTML > #document to 0 of UL > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > LI > UL > DIV > UL > DIV > DIV > BODY > HTML > #document to 1 of #text > LI > UL > DIV > UL > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
| EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
| EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
| EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification |
| Bug fix for <a href="rdar://problem/4039777"><rdar://problem/4039777></a> Pasting particular snippet of HTML containing list items and a link creates too many list items |
| |
| Expected result: |
| | "\n" |
| | <ul> |
| | style="text-align:right;" |
| | <li> |
| | "A" |
| | "\n" |
| | <div> |
| | "\n " |
| | <ul> |
| | "\n " |
| | <li> |
| | "\n " |
| | <a> |
| | href="" |
| | "B" |
| | "\n " |
| | <br> |
| | "\n C \n " |
| | "\n " |
| | "\n" |
| | "\n" |
| |
| Actual result: |
| | "\n" |
| | <ul> |
| | style="text-align:right;" |
| | <li> |
| | "A" |
| | <div> |
| | style="text-align: start;" |
| | <ul> |
| | <li> |
| | <a> |
| | href="" |
| | "B" |
| | " " |
| | <br> |
| | "C<#selection-caret>" |
| | <div> |
| | <ul> |
| | "\n " |
| | "\n" |
| | "\n" |