2011-05-26 Ryosuke Niwa <rniwa@webkit.org>
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2011 06:40:43 +0000 (06:40 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2011 06:40:43 +0000 (06:40 +0000)
        Reviewed by Adam Barth.

        Convert editing/pasteboard/interchange-newline-*.html to dump-as-markup tests.
        https://bugs.webkit.org/show_bug.cgi?id=61605

        Converted interchange-newline-1 thorugh 4 to dump-as-markup tests.
        Also revised some test descriptions.

        * editing/pasteboard/interchange-newline-1-expected.txt: Added.
        * editing/pasteboard/interchange-newline-1.html:
        * editing/pasteboard/interchange-newline-2-expected.txt: Added.
        * editing/pasteboard/interchange-newline-2.html:
        * editing/pasteboard/interchange-newline-3-expected.txt: Added.
        * editing/pasteboard/interchange-newline-3.html:
        * editing/pasteboard/interchange-newline-4-expected.txt: Added.
        * editing/pasteboard/interchange-newline-4.html:
        * platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/gtk/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-2-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-3-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-4-expected.png: Removed.
        * platform/mac/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-1-expected.png: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
        * platform/qt/editing/pasteboard/interchange-newline-4-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87476 268f45cc-cd09-0410-ab3c-d52691b4dbfc

47 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/interchange-newline-1-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/interchange-newline-1.html
LayoutTests/editing/pasteboard/interchange-newline-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/interchange-newline-2.html
LayoutTests/editing/pasteboard/interchange-newline-3-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/interchange-newline-3.html
LayoutTests/editing/pasteboard/interchange-newline-4-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/interchange-newline-4.html
LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png [deleted file]
LayoutTests/platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.txt [deleted file]
LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png [deleted file]
LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png [deleted file]
LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.txt [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.txt [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.txt [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.txt [deleted file]
LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.png [deleted file]
LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.txt [deleted file]
LayoutTests/platform/qt/editing/pasteboard/interchange-newline-3-expected.txt [deleted file]
LayoutTests/platform/qt/editing/pasteboard/interchange-newline-4-expected.txt [deleted file]

index 39a6e3a..7195880 100644 (file)
@@ -1,3 +1,60 @@
+2011-05-26  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Reviewed by Adam Barth.
+
+        Convert editing/pasteboard/interchange-newline-*.html to dump-as-markup tests.
+        https://bugs.webkit.org/show_bug.cgi?id=61605
+
+        Converted interchange-newline-1 thorugh 4 to dump-as-markup tests.
+        Also revised some test descriptions.
+
+        * editing/pasteboard/interchange-newline-1-expected.txt: Added.
+        * editing/pasteboard/interchange-newline-1.html:
+        * editing/pasteboard/interchange-newline-2-expected.txt: Added.
+        * editing/pasteboard/interchange-newline-2.html:
+        * editing/pasteboard/interchange-newline-3-expected.txt: Added.
+        * editing/pasteboard/interchange-newline-3.html:
+        * editing/pasteboard/interchange-newline-4-expected.txt: Added.
+        * editing/pasteboard/interchange-newline-4.html:
+        * platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png: Removed.
+        * platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png: Removed.
+        * platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png: Removed.
+        * platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-2-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-3-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-4-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
+        * platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png: Removed.
+        * platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png: Removed.
+        * platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-2-expected.png: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-2-expected.txt: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-3-expected.png: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-4-expected.png: Removed.
+        * platform/mac/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
+        * platform/qt/editing/pasteboard/interchange-newline-1-expected.png: Removed.
+        * platform/qt/editing/pasteboard/interchange-newline-1-expected.txt: Removed.
+        * platform/qt/editing/pasteboard/interchange-newline-3-expected.txt: Removed.
+        * platform/qt/editing/pasteboard/interchange-newline-4-expected.txt: Removed.
+
 2011-05-26  Shane Stephens  <shanestephens@google.com>
 
         Reviewed by James Robinson.
diff --git a/LayoutTests/editing/pasteboard/interchange-newline-1-expected.txt b/LayoutTests/editing/pasteboard/interchange-newline-1-expected.txt
new file mode 100644 (file)
index 0000000..41998c6
--- /dev/null
@@ -0,0 +1,17 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 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: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+There is an interchange newline at the end of the incoming fragment. "bar" and "x" should be in separate paragraphs
+The paragraph "bar" is inside a div wrapped in a span, and the old paste code that handled interchange newlines did not handle this case.
+| "x"
+| <span>
+|   "foo"
+|   <div>
+|     "bar"
+| "<#selection-caret>x"
index 237974c..aec51d5 100644 (file)
@@ -1,16 +1,24 @@
+<!DOCTYPE html>
+<html>
+<body>
+<div id="test" contenteditable="true">xx</div>
+<script src="../../resources/dump-as-markup.js"></script>
 <script>
 if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
-</script>
-<p>There is an interchange newline at the end of the incoming fragment, so the last bit of pasted content and the content after the position where the paste occured should be in separate paragraphs.  The last bit of pasted content is a div wrapped in a span, which breaks the old code in paste that handled interchange newlines.</p>
+    layoutTestController.dumpEditingCallbacks();
 
-<div id="test" contenteditable="true">xx</div>
+Markup.description('There is an interchange newline at the end of the incoming fragment. "bar" and "x" should be in separate paragraphs\n'
++ 'The paragraph "bar" is inside a div wrapped in a span, and the old paste code that handled interchange newlines did not handle this case.');
 
-<script>
 var s = window.getSelection();
 var e = document.getElementById("test");
 
 s.setPosition(e, 0);
 s.modify("move", "forward", "character");
 document.execCommand("InsertHTML", false, "<div>foo</div><span><div>bar</div></span><br class='Apple-interchange-newline'>");
-</script>
\ No newline at end of file
+
+Markup.dump('test');
+
+</script>
+</body>
+</html>
diff --git a/LayoutTests/editing/pasteboard/interchange-newline-2-expected.txt b/LayoutTests/editing/pasteboard/interchange-newline-2-expected.txt
new file mode 100644 (file)
index 0000000..2fe7d51
--- /dev/null
@@ -0,0 +1,20 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 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:(null) toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+This demonstrates a bug in interchange newline handling during paste.
+The selection being pasted into contain multiple blocks, which breaks the old code in paste that handled interchange newlines.
+| <div>
+|   "f"
+|   "bar"
+| "baz"
+| <div>
+|   "<#selection-caret>ar"
index 07a0f7a..f9deff4 100644 (file)
@@ -1,12 +1,15 @@
+<!DOCTYPE html>
+<html>
+<body>
+<div id="test" contenteditable="true"><div>foo</div>bar</div>
+<script src="../../resources/dump-as-markup.js"></script>
 <script>
 if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
-</script>
-<p>This demonstrates a bug in interchange newline handling during paste.  The selection being pasted into spans multiple blocks, which breaks the old code in paste that handled interchange newlines.</p>
+    layoutTestController.dumpEditingCallbacks();
 
-<div id="test" contenteditable="true"><div>foo</div>bar</div>
+Markup.description('This demonstrates a bug in interchange newline handling during paste.\n'
++ 'The selection being pasted into contain multiple blocks, which breaks the old code in paste that handled interchange newlines.')
 
-<script>
 var s = window.getSelection();
 var e = document.getElementById("test");
 
@@ -14,4 +17,8 @@ s.setPosition(e, 0);
 s.modify("move", "forward", "character");
 s.modify("extend", "forward", "line");
 document.execCommand("InsertHTML", false, "<div>bar</div>baz<br class='Apple-interchange-newline'>");
-</script>
\ No newline at end of file
+
+Markup.dump('test');
+</script>
+</body>
+</html>
diff --git a/LayoutTests/editing/pasteboard/interchange-newline-3-expected.txt b/LayoutTests/editing/pasteboard/interchange-newline-3-expected.txt
new file mode 100644 (file)
index 0000000..5def40c
--- /dev/null
@@ -0,0 +1,30 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+This demonstrates a bug in interchange newline handling during paste.
+There is an interchange newline at the end of the incoming fragment and so the caret should end up on an empty line.
+The editable region is followed by non-editable content, which breaks the old code in paste that handled interchange newlines.
+| "
+"
+| <div>
+|   contenteditable="true"
+|   id="test"
+|   "foo"
+|   <div>
+|     "bar"
+|   <div>
+|     <#selection-caret>
+|     <br>
+| "
+This is non-editable content.
+
+"
+| <script>
+|   "
+runTest();
+"
index 2c0827a..b80d6cb 100644 (file)
@@ -1,16 +1,34 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/dump-as-markup.js"></script>
 <script>
+
 if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
-</script>
-<p>This demonstrates a bug in interchange newline handling during paste.  There is an interchange newline at the end of the incoming fragment and so the caret should end up on an empty line.  The editable region is followed by non-editable content, which breaks the old code in paste that handled interchange newlines.</p>
+    layoutTestController.dumpEditingCallbacks();
+
+function runTest() {
+    Markup.description('This demonstrates a bug in interchange newline handling during paste.\n'
+    + 'There is an interchange newline at the end of the incoming fragment and so the caret should end up on an empty line.\n'
+    + 'The editable region is followed by non-editable content, which breaks the old code in paste that handled interchange newlines.');
+
+    var s = window.getSelection();
+    var e = document.getElementById("test");
+
+    s.setPosition(e, 0);
+    document.execCommand("InsertHTML", false, "foo<div>bar</div><br class='Apple-interchange-newline'>");
 
+    Markup.dump(document.body);
+}
+
+</script>
+</head>
+<body>
 <div id="test" contenteditable="true"></div>
 This is non-editable content.
 
 <script>
-var s = window.getSelection();
-var e = document.getElementById("test");
-
-s.setPosition(e, 0);
-document.execCommand("InsertHTML", false, "foo<div>bar</div><br class='Apple-interchange-newline'>");
-</script>
\ No newline at end of file
+runTest();
+</script>
+</body>
+</html>
diff --git a/LayoutTests/editing/pasteboard/interchange-newline-4-expected.txt b/LayoutTests/editing/pasteboard/interchange-newline-4-expected.txt
new file mode 100644 (file)
index 0000000..25121c5
--- /dev/null
@@ -0,0 +1,27 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
+This tests for a bug where pasted content starting with an interchange newline would end up
+outside of the editable region where it was pasted. You should see 'foo\nbar' below.
+| "
+"
+| <div>
+|   contenteditable="true"
+|   id="test"
+|   "foo"
+|   <div>
+|     "bar<#selection-caret>"
+|     <br>
+| "
+non-editable
+"
+| <script>
+|   "
+runTest();
+"
index dcbdce8..307d83b 100644 (file)
@@ -1,15 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/dump-as-markup.js"></script>
 <script>
+
 if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
+    layoutTestController.dumpEditingCallbacks();
+
+function runTest() {
+    Markup.description("This tests for a bug where pasted content starting with an interchange newline would end up\n"
+    + "outside of the editable region where it was pasted. You should see 'foo\\nbar' below.");
+
+    var sel = window.getSelection();
+    var e = document.getElementById("test");
+
+    sel.setPosition(e, 0);
+    sel.modify("move", "forward", "word");
+    document.execCommand("InsertHTML", false, "<br class='Apple-interchange-newline'>bar");
+
+    Markup.dump(document.body);
+}
+
 </script>
-<p>This tests for a bug where pasted content starting with an interchange newline would end up outside of the editable region where it was pasted.  You should see 'foo\nbar' below.</p>
+</head>
+<body>
 <div id="test" contenteditable="true">foo</div>
 non-editable
 <script>
-var sel = window.getSelection();
-var e = document.getElementById("test");
-
-sel.setPosition(e, 0);
-sel.modify("move", "forward", "word");
-document.execCommand("InsertHTML", false, "<br class='Apple-interchange-newline'>bar");
-</script>
\ No newline at end of file
+runTest();
+</script>
+</body>
+</html>
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index b310277..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png
deleted file mode 100644 (file)
index c0b41c7..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png
deleted file mode 100644 (file)
index 1011bf7..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png
deleted file mode 100644 (file)
index bd31ea3..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/interchange-newline-4-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index 24c929c..0000000
Binary files a/LayoutTests/platform/chromium-mac-leopard/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index 1957089..0000000
Binary files a/LayoutTests/platform/chromium-mac/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index ddd329d..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.txt
deleted file mode 100644 (file)
index c00b3b6..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 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: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x60
-        RenderText {#text} at (0,0) size 748x59
-          text run at (0,0) width 745: "There is an interchange newline at the end of the incoming fragment, so the last bit of pasted content and the content after the"
-          text run at (0,20) width 409: "position where the paste occured should be in separate paragraphs. "
-          text run at (409,20) width 339: "The last bit of pasted content is a div wrapped in a span,"
-          text run at (0,40) width 417: "which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,76) size 784x60
-        RenderBlock (anonymous) at (0,0) size 784x20
-          RenderText {#text} at (0,0) size 7x19
-            text run at (0,0) width 7: "x"
-          RenderInline {SPAN} at (0,0) size 20x19
-            RenderText {#text} at (7,0) size 20x19
-              text run at (7,0) width 20: "foo"
-        RenderBlock (anonymous) at (0,20) size 784x20
-          RenderBlock {DIV} at (0,0) size 784x20
-            RenderText {#text} at (0,0) size 20x19
-              text run at (0,0) width 20: "bar"
-        RenderBlock (anonymous) at (0,40) size 784x20
-          RenderInline {SPAN} at (0,0) size 0x0
-          RenderText {#text} at (0,0) size 7x19
-            text run at (0,0) width 7: "x"
-caret: position 0 of child 2 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png
deleted file mode 100644 (file)
index 9ff090a..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-2-expected.txt
deleted file mode 100644 (file)
index 984dd1d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 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: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x40
-        RenderText {#text} at (0,0) size 779x39
-          text run at (0,0) width 419: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (419,0) width 360: "The selection being pasted into spans multiple blocks, which"
-          text run at (0,20) width 378: "breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,56) size 784x60
-        RenderBlock {DIV} at (0,0) size 784x20
-          RenderText {#text} at (0,0) size 4x19
-            text run at (0,0) width 4: "f"
-          RenderText {#text} at (4,0) size 20x19
-            text run at (4,0) width 20: "bar"
-        RenderBlock (anonymous) at (0,20) size 784x20
-          RenderText {#text} at (0,0) size 21x19
-            text run at (0,0) width 21: "baz"
-        RenderBlock {DIV} at (0,40) size 784x20
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "bar"
-caret: position 0 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png
deleted file mode 100644 (file)
index 8588e11..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-3-expected.txt
deleted file mode 100644 (file)
index 82fb9f4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x60
-        RenderText {#text} at (0,0) size 768x59
-          text run at (0,0) width 419: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (419,0) width 345: "There is an interchange newline at the end of the incoming"
-          text run at (0,20) width 350: "fragment and so the caret should end up on an empty line. "
-          text run at (350,20) width 418: "The editable region is followed by non-editable content, which breaks"
-          text run at (0,40) width 333: "the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,76) size 784x60
-        RenderBlock (anonymous) at (0,0) size 784x20
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "foo"
-        RenderBlock {DIV} at (0,20) size 784x20
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "bar"
-        RenderBlock {DIV} at (0,40) size 784x20
-          RenderBR {BR} at (0,0) size 0x19
-      RenderBlock (anonymous) at (0,136) size 784x20
-        RenderText {#text} at (0,0) size 169x19
-          text run at (0,0) width 169: "This is non-editable content."
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png
deleted file mode 100644 (file)
index 6e64fff..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/interchange-newline-4-expected.txt
deleted file mode 100644 (file)
index 7dcee77..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x40
-        RenderText {#text} at (0,0) size 777x39
-          text run at (0,0) width 777: "This tests for a bug where pasted content starting with an interchange newline would end up outside of the editable region where it"
-          text run at (0,20) width 76: "was pasted. "
-          text run at (76,20) width 199: "You should see 'foo\\nbar' below."
-      RenderBlock {DIV} at (0,56) size 784x40
-        RenderBlock (anonymous) at (0,0) size 784x20
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "foo"
-        RenderBlock {DIV} at (0,20) size 784x20
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "bar"
-      RenderBlock (anonymous) at (0,96) size 784x20
-        RenderText {#text} at (0,0) size 75x19
-          text run at (0,0) width 75: "non-editable"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index 4421421..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-1-expected.txt
deleted file mode 100644 (file)
index 44177bf..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 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: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x57
-        RenderText {#text} at (0,0) size 762x57
-          text run at (0,0) width 762: "There is an interchange newline at the end of the incoming fragment, so the last bit of pasted content and the content after"
-          text run at (0,19) width 446: "the position where the paste occured should be in separate paragraphs. "
-          text run at (446,19) width 316: "The last bit of pasted content is a div wrapped in a"
-          text run at (0,38) width 476: "span, which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,73) size 784x57
-        RenderBlock (anonymous) at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 8x19
-            text run at (0,0) width 8: "x"
-          RenderInline {SPAN} at (0,0) size 21x19
-            RenderText {#text} at (8,0) size 21x19
-              text run at (8,0) width 21: "foo"
-        RenderBlock (anonymous) at (0,19) size 784x19
-          RenderBlock {DIV} at (0,0) size 784x19
-            RenderText {#text} at (0,0) size 20x19
-              text run at (0,0) width 20: "bar"
-        RenderBlock (anonymous) at (0,38) size 784x19
-          RenderInline {SPAN} at (0,0) size 0x0
-          RenderText {#text} at (0,0) size 8x19
-            text run at (0,0) width 8: "x"
-caret: position 0 of child 2 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.png
deleted file mode 100644 (file)
index 0a76f96..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-2-expected.txt
deleted file mode 100644 (file)
index 004554c..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 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:(null) toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x38
-        RenderText {#text} at (0,0) size 737x38
-          text run at (0,0) width 448: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (448,0) width 289: "The selection being pasted into spans multiple"
-          text run at (0,19) width 488: "blocks, which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,54) size 784x57
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 5x19
-            text run at (0,0) width 5: "f"
-          RenderText {#text} at (5,0) size 20x19
-            text run at (5,0) width 20: "bar"
-        RenderBlock (anonymous) at (0,19) size 784x19
-          RenderText {#text} at (0,0) size 22x19
-            text run at (0,0) width 22: "baz"
-        RenderBlock {DIV} at (0,38) size 784x19
-          RenderText {#text} at (0,0) size 12x19
-            text run at (0,0) width 12: "ar"
-caret: position 0 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.png
deleted file mode 100644 (file)
index f13f859..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-3-expected.txt
deleted file mode 100644 (file)
index 545f29f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x57
-        RenderText {#text} at (0,0) size 783x57
-          text run at (0,0) width 448: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (448,0) width 306: "There is an interchange newline at the end of the"
-          text run at (0,19) width 431: "incoming fragment and so the caret should end up on an empty line. "
-          text run at (431,19) width 352: "The editable region is followed by non-editable content,"
-          text run at (0,38) width 439: "which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,73) size 784x57
-        RenderBlock (anonymous) at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 21x19
-            text run at (0,0) width 21: "foo"
-        RenderBlock {DIV} at (0,19) size 784x19
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "bar"
-        RenderBlock {DIV} at (0,38) size 784x19
-          RenderBR {BR} at (0,0) size 0x19
-      RenderBlock (anonymous) at (0,130) size 784x19
-        RenderText {#text} at (0,0) size 178x19
-          text run at (0,0) width 178: "This is non-editable content."
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.png
deleted file mode 100644 (file)
index 1f09238..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/interchange-newline-4-expected.txt
deleted file mode 100644 (file)
index 850cc08..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x38
-        RenderText {#text} at (0,0) size 766x38
-          text run at (0,0) width 766: "This tests for a bug where pasted content starting with an interchange newline would end up outside of the editable region"
-          text run at (0,19) width 132: "where it was pasted. "
-          text run at (132,19) width 208: "You should see 'foo\\nbar' below."
-      RenderBlock {DIV} at (0,54) size 784x38
-        RenderBlock (anonymous) at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 21x19
-            text run at (0,0) width 21: "foo"
-        RenderBlock {DIV} at (0,19) size 784x19
-          RenderText {#text} at (0,0) size 20x19
-            text run at (0,0) width 20: "bar"
-      RenderBlock (anonymous) at (0,92) size 784x19
-        RenderText {#text} at (0,0) size 78x19
-          text run at (0,0) width 78: "non-editable"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index f100d69..0000000
Binary files a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png b/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png
deleted file mode 100644 (file)
index fc9be8f..0000000
Binary files a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png b/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png
deleted file mode 100644 (file)
index 6aa5a1e..0000000
Binary files a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png b/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png
deleted file mode 100644 (file)
index 20deafe..0000000
Binary files a/LayoutTests/platform/mac-leopard/editing/pasteboard/interchange-newline-4-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index e254e30..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.txt b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-1-expected.txt
deleted file mode 100644 (file)
index 550dce0..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 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: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x54
-        RenderText {#text} at (0,0) size 762x54
-          text run at (0,0) width 762: "There is an interchange newline at the end of the incoming fragment, so the last bit of pasted content and the content after"
-          text run at (0,18) width 446: "the position where the paste occured should be in separate paragraphs. "
-          text run at (446,18) width 316: "The last bit of pasted content is a div wrapped in a"
-          text run at (0,36) width 476: "span, which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,70) size 784x54
-        RenderBlock (anonymous) at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 8x18
-            text run at (0,0) width 8: "x"
-          RenderInline {SPAN} at (0,0) size 21x18
-            RenderText {#text} at (8,0) size 21x18
-              text run at (8,0) width 21: "foo"
-        RenderBlock (anonymous) at (0,18) size 784x18
-          RenderBlock {DIV} at (0,0) size 784x18
-            RenderText {#text} at (0,0) size 20x18
-              text run at (0,0) width 20: "bar"
-        RenderBlock (anonymous) at (0,36) size 784x18
-          RenderInline {SPAN} at (0,0) size 0x0
-          RenderText {#text} at (0,0) size 8x18
-            text run at (0,0) width 8: "x"
-caret: position 0 of child 2 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.png b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.png
deleted file mode 100644 (file)
index 2ca3696..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.txt b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-2-expected.txt
deleted file mode 100644 (file)
index d770164..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 2 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:(null) toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x36
-        RenderText {#text} at (0,0) size 737x36
-          text run at (0,0) width 448: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (448,0) width 289: "The selection being pasted into spans multiple"
-          text run at (0,18) width 488: "blocks, which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,52) size 784x54
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 5x18
-            text run at (0,0) width 5: "f"
-          RenderText {#text} at (5,0) size 20x18
-            text run at (5,0) width 20: "bar"
-        RenderBlock (anonymous) at (0,18) size 784x18
-          RenderText {#text} at (0,0) size 22x18
-            text run at (0,0) width 22: "baz"
-        RenderBlock {DIV} at (0,36) size 784x18
-          RenderText {#text} at (0,0) size 12x18
-            text run at (0,0) width 12: "ar"
-caret: position 0 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.png b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.png
deleted file mode 100644 (file)
index 8648b21..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.txt b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-3-expected.txt
deleted file mode 100644 (file)
index 521afdd..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x54
-        RenderText {#text} at (0,0) size 783x54
-          text run at (0,0) width 448: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (448,0) width 306: "There is an interchange newline at the end of the"
-          text run at (0,18) width 431: "incoming fragment and so the caret should end up on an empty line. "
-          text run at (431,18) width 352: "The editable region is followed by non-editable content,"
-          text run at (0,36) width 439: "which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,70) size 784x54
-        RenderBlock (anonymous) at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 21x18
-            text run at (0,0) width 21: "foo"
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderText {#text} at (0,0) size 20x18
-            text run at (0,0) width 20: "bar"
-        RenderBlock {DIV} at (0,36) size 784x18
-          RenderBR {BR} at (0,0) size 0x18
-      RenderBlock (anonymous) at (0,124) size 784x18
-        RenderText {#text} at (0,0) size 178x18
-          text run at (0,0) width 178: "This is non-editable content."
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.png b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.png
deleted file mode 100644 (file)
index 3f7e83c..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.txt b/LayoutTests/platform/mac/editing/pasteboard/interchange-newline-4-expected.txt
deleted file mode 100644 (file)
index 2d7523e..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x36
-        RenderText {#text} at (0,0) size 766x36
-          text run at (0,0) width 766: "This tests for a bug where pasted content starting with an interchange newline would end up outside of the editable region"
-          text run at (0,18) width 132: "where it was pasted. "
-          text run at (132,18) width 208: "You should see 'foo\\nbar' below."
-      RenderBlock {DIV} at (0,52) size 784x36
-        RenderBlock (anonymous) at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 21x18
-            text run at (0,0) width 21: "foo"
-        RenderBlock {DIV} at (0,18) size 784x18
-          RenderText {#text} at (0,0) size 20x18
-            text run at (0,0) width 20: "bar"
-      RenderBlock (anonymous) at (0,88) size 784x18
-        RenderText {#text} at (0,0) size 78x18
-          text run at (0,0) width 78: "non-editable"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.png b/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.png
deleted file mode 100644 (file)
index 9f7ec86..0000000
Binary files a/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.txt b/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-1-expected.txt
deleted file mode 100644 (file)
index 6a1b86f..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 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: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x66
-        RenderText {#text} at (0,0) size 783x66
-          text run at (0,0) width 731: "There is an interchange newline at the end of the incoming fragment, so the last bit of pasted content and the"
-          text run at (0,22) width 574: "content after the position where the paste occured should be in separate paragraphs. "
-          text run at (574,22) width 209: "The last bit of pasted content is"
-          text run at (0,44) width 643: "a div wrapped in a span, which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,82) size 784x66
-        RenderBlock (anonymous) at (0,0) size 784x22
-          RenderText {#text} at (0,0) size 8x22
-            text run at (0,0) width 8: "x"
-          RenderInline {SPAN} at (0,0) size 21x22
-            RenderText {#text} at (8,0) size 21x22
-              text run at (8,0) width 21: "foo"
-        RenderBlock (anonymous) at (0,22) size 784x22
-          RenderBlock {DIV} at (0,0) size 784x22
-            RenderText {#text} at (0,0) size 24x22
-              text run at (0,0) width 24: "bar"
-        RenderBlock (anonymous) at (0,44) size 784x22
-          RenderInline {SPAN} at (0,0) size 0x0
-          RenderText {#text} at (0,0) size 8x22
-            text run at (0,0) width 8: "x"
-caret: position 0 of child 2 {#text} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-3-expected.txt b/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-3-expected.txt
deleted file mode 100644 (file)
index 1799b80..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x66
-        RenderText {#text} at (0,0) size 771x66
-          text run at (0,0) width 484: "This demonstrates a bug in interchange newline handling during paste. "
-          text run at (484,0) width 287: "There is an interchange newline at the end"
-          text run at (0,22) width 505: "of the incoming fragment and so the caret should end up on an empty line. "
-          text run at (505,22) width 262: "The editable region is followed by non-"
-          text run at (0,44) width 587: "editable content, which breaks the old code in paste that handled interchange newlines."
-      RenderBlock {DIV} at (0,82) size 784x66
-        RenderBlock (anonymous) at (0,0) size 784x22
-          RenderText {#text} at (0,0) size 21x22
-            text run at (0,0) width 21: "foo"
-        RenderBlock {DIV} at (0,22) size 784x22
-          RenderText {#text} at (0,0) size 24x22
-            text run at (0,0) width 24: "bar"
-        RenderBlock {DIV} at (0,44) size 784x22
-          RenderBR {BR} at (0,0) size 0x22
-      RenderBlock (anonymous) at (0,148) size 784x22
-        RenderText {#text} at (0,0) size 190x22
-          text run at (0,0) width 190: "This is non-editable content."
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-4-expected.txt b/LayoutTests/platform/qt/editing/pasteboard/interchange-newline-4-expected.txt
deleted file mode 100644 (file)
index 5dc11d5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > BODY > HTML > #document to 3 of #text > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x44
-        RenderText {#text} at (0,0) size 776x44
-          text run at (0,0) width 776: "This tests for a bug where pasted content starting with an interchange newline would end up outside of the editable"
-          text run at (0,22) width 188: "region where it was pasted. "
-          text run at (188,22) width 220: "You should see 'foo\\nbar' below."
-      RenderBlock {DIV} at (0,60) size 784x44
-        RenderBlock (anonymous) at (0,0) size 784x22
-          RenderText {#text} at (0,0) size 21x22
-            text run at (0,0) width 21: "foo"
-        RenderBlock {DIV} at (0,22) size 784x22
-          RenderText {#text} at (0,0) size 24x22
-            text run at (0,0) width 24: "bar"
-      RenderBlock (anonymous) at (0,104) size 784x22
-        RenderText {#text} at (0,0) size 84x22
-          text run at (0,0) width 84: "non-editable"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of body