| Index: LayoutTests/editing/inserting/insert-text-with-newlines-expected.txt
 | 
| diff --git a/LayoutTests/editing/inserting/insert-text-with-newlines-expected.txt b/LayoutTests/editing/inserting/insert-text-with-newlines-expected.txt
 | 
| index 19e48946b027315a40da72fae3376280096872bf..c28e79e75d07114371588e638396abe7a9ec91d8 100644
 | 
| --- a/LayoutTests/editing/inserting/insert-text-with-newlines-expected.txt
 | 
| +++ b/LayoutTests/editing/inserting/insert-text-with-newlines-expected.txt
 | 
| @@ -1,20 +1,14 @@
 | 
| -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: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 4 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 6 of #text > SPAN > DIV > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of #text > SPAN > DIV > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 7 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of SPAN > DIV > BODY > HTML > #document to 2 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
| @@ -22,13 +16,10 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > I > SPAN > DIV > BODY > HTML > #document to 3 of #text > I > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 4 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
| @@ -39,13 +30,10 @@ EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 4 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 4 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
| -EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 6 of #text > SPAN > DIV > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 | 
|  EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 | 
|  EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 | 
|  layer at (0,0) size 800x600
 | 
| 
 |