2011-05-27 Ryosuke Niwa <rniwa@webkit.org>
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2011 11:38:49 +0000 (11:38 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 May 2011 11:38:49 +0000 (11:38 +0000)
        Reviewed by Kent Tamura.

        Convert smart-paste-001.html through smart-paste-003.html to dumpAsText tests
        https://bugs.webkit.org/show_bug.cgi?id=61617

        Converted smart-paste-001.html, smart-paste-002.html, and smart-paste-003.html to dumpAsText tests.

        * editing/pasteboard/smart-paste-001-expected.txt: Added.
        * editing/pasteboard/smart-paste-001.html:
        * editing/pasteboard/smart-paste-002-expected.txt: Added.
        * editing/pasteboard/smart-paste-002.html:
        * editing/pasteboard/smart-paste-003-expected.txt: Added.
        * editing/pasteboard/smart-paste-003.html:
        * platform/chromium-linux/editing/pasteboard/smart-paste-001-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/smart-paste-002-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/smart-paste-001-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/smart-paste-001-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/smart-paste-002-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/smart-paste-002-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/smart-paste-003-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/smart-paste-003-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/smart-paste-001-expected.png: Removed.
        * platform/gtk/editing/pasteboard/smart-paste-001-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/smart-paste-002-expected.png: Removed.
        * platform/gtk/editing/pasteboard/smart-paste-002-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/smart-paste-003-expected.png: Removed.
        * platform/gtk/editing/pasteboard/smart-paste-003-expected.txt: Removed.
        * platform/mac/editing/pasteboard/smart-paste-001-expected.png: Removed.
        * platform/mac/editing/pasteboard/smart-paste-001-expected.txt: Removed.
        * platform/mac/editing/pasteboard/smart-paste-002-expected.png: Removed.
        * platform/mac/editing/pasteboard/smart-paste-002-expected.txt: Removed.
        * platform/mac/editing/pasteboard/smart-paste-003-expected.png: Removed.
        * platform/mac/editing/pasteboard/smart-paste-003-expected.txt: Removed.
        * platform/qt/editing/pasteboard/smart-paste-001-expected.txt: Removed.
        * platform/qt/editing/pasteboard/smart-paste-002-expected.png: Removed.
        * platform/qt/editing/pasteboard/smart-paste-002-expected.txt: Removed.
        * platform/qt/editing/pasteboard/smart-paste-003-expected.png: Removed.
        * platform/qt/editing/pasteboard/smart-paste-003-expected.txt: Removed.

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

33 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/smart-paste-001-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-001.html
LayoutTests/editing/pasteboard/smart-paste-002-expected.txt [moved from LayoutTests/platform/mac/editing/pasteboard/smart-paste-002-expected.txt with 54% similarity]
LayoutTests/editing/pasteboard/smart-paste-002.html
LayoutTests/editing/pasteboard/smart-paste-003-expected.txt [new file with mode: 0644]
LayoutTests/editing/pasteboard/smart-paste-003.html
LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-001-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-002-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.png [deleted file]
LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.txt [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.png [deleted file]
LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.txt [deleted file]
LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.txt [deleted file]
LayoutTests/platform/mac/editing/pasteboard/smart-paste-002-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.png [deleted file]
LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.txt [deleted file]
LayoutTests/platform/qt/editing/pasteboard/smart-paste-001-expected.txt [deleted file]
LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.png [deleted file]
LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.txt [deleted file]
LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.png [deleted file]
LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.txt [deleted file]

index f786d3b..261e3bd 100644 (file)
@@ -2,6 +2,49 @@
 
         Reviewed by Kent Tamura.
 
+        Convert smart-paste-001.html through smart-paste-003.html to dumpAsText tests
+        https://bugs.webkit.org/show_bug.cgi?id=61617
+
+        Converted smart-paste-001.html, smart-paste-002.html, and smart-paste-003.html to dumpAsText tests.
+
+        * editing/pasteboard/smart-paste-001-expected.txt: Added.
+        * editing/pasteboard/smart-paste-001.html:
+        * editing/pasteboard/smart-paste-002-expected.txt: Added.
+        * editing/pasteboard/smart-paste-002.html:
+        * editing/pasteboard/smart-paste-003-expected.txt: Added.
+        * editing/pasteboard/smart-paste-003.html:
+        * platform/chromium-linux/editing/pasteboard/smart-paste-001-expected.png: Removed.
+        * platform/chromium-linux/editing/pasteboard/smart-paste-002-expected.png: Removed.
+        * platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.png: Removed.
+        * platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt: Removed.
+        * platform/chromium-win/editing/pasteboard/smart-paste-001-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/smart-paste-001-expected.txt: Removed.
+        * platform/chromium-win/editing/pasteboard/smart-paste-002-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/smart-paste-002-expected.txt: Removed.
+        * platform/chromium-win/editing/pasteboard/smart-paste-003-expected.png: Removed.
+        * platform/chromium-win/editing/pasteboard/smart-paste-003-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/smart-paste-001-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/smart-paste-001-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/smart-paste-002-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/smart-paste-002-expected.txt: Removed.
+        * platform/gtk/editing/pasteboard/smart-paste-003-expected.png: Removed.
+        * platform/gtk/editing/pasteboard/smart-paste-003-expected.txt: Removed.
+        * platform/mac/editing/pasteboard/smart-paste-001-expected.png: Removed.
+        * platform/mac/editing/pasteboard/smart-paste-001-expected.txt: Removed.
+        * platform/mac/editing/pasteboard/smart-paste-002-expected.png: Removed.
+        * platform/mac/editing/pasteboard/smart-paste-002-expected.txt: Removed.
+        * platform/mac/editing/pasteboard/smart-paste-003-expected.png: Removed.
+        * platform/mac/editing/pasteboard/smart-paste-003-expected.txt: Removed.
+        * platform/qt/editing/pasteboard/smart-paste-001-expected.txt: Removed.
+        * platform/qt/editing/pasteboard/smart-paste-002-expected.png: Removed.
+        * platform/qt/editing/pasteboard/smart-paste-002-expected.txt: Removed.
+        * platform/qt/editing/pasteboard/smart-paste-003-expected.png: Removed.
+        * platform/qt/editing/pasteboard/smart-paste-003-expected.txt: Removed.
+
+2011-05-27  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Reviewed by Kent Tamura.
+
         Convert editing/pasteboard/paste-unrendered-select.html to a dump-as-markup test
         https://bugs.webkit.org/show_bug.cgi?id=61616
 
diff --git a/LayoutTests/editing/pasteboard/smart-paste-001-expected.txt b/LayoutTests/editing/pasteboard/smart-paste-001-expected.txt
new file mode 100644 (file)
index 0000000..2bc3c8d
--- /dev/null
@@ -0,0 +1,18 @@
+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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+Tests: 
+Smart paste when pasting after a word at the end of a line.
+Expected Results: 
+A space should be added between the preexisting word and the word that's pasted. It should like this: 
+test test
+test test
+execCopyCommand: <div id="test" class="editing"> test </div>
+execPasteCommand: <div id="test" class="editing"> test&nbsp;test</div>
index 4465a73..461b869 100644 (file)
@@ -1,6 +1,6 @@
+<!DOCTYPE html>
 <html> 
 <head>
-
 <style>
 .editing { 
     border: 2px solid red; 
 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
 .expected-results:first-line { font-weight: bold }
 </style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
-    doubleClickAtSelectionStart();
-    copyCommand();
-    moveSelectionForwardByCharacterCommand();
-    pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title> 
 </head> 
 <body>
-
 <div class="explanation">
 <div class="scenario">
 Tests: 
@@ -42,7 +27,7 @@ Smart paste when pasting after a word at the end of a line.
 <div class="expected-results">
 Expected Results:
 <br>
-A space should be added between the preexisting word and the word that's pasted. It should like this this:
+A space should be added between the preexisting word and the word that's pasted. It should like this:
 <BR>
 test test
 </div>
@@ -53,10 +38,17 @@ test test
 test
 </div>
 </div>
-
+<script src="../editing.js"></script>
 <script>
-runEditingTest();
-</script>
 
+function editingTest() {
+    doubleClickAtSelectionStart();
+    copyCommand();
+    moveSelectionForwardByCharacterCommand();
+    pasteCommand();
+}
+
+runDumpAsTextEditingTest(true);
+</script>
 </body>
 </html>
@@ -11,33 +11,11 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x56
-          RenderText {#text} at (0,0) size 67x28
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,28) size 643x28
-            text run at (0,28) width 643: "Smart paste when pasting at the beginning of a line before a word."
-        RenderBlock {DIV} at (14,86) size 756x112
-          RenderText {#text} at (0,0) size 189x28
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,22) size 0x0
-          RenderText {#text} at (0,28) size 743x56
-            text run at (0,28) width 743: "A space should be added after the pasted word before the preexising word. It"
-            text run at (0,56) width 202: "should like this this: "
-          RenderBR {BR} at (202,78) size 0x0
-          RenderText {#text} at (0,84) size 74x28
-            text run at (0,84) width 74: "test test"
-      RenderBlock {DIV} at (0,236) size 784x32
-        RenderBlock (anonymous) at (0,0) size 784x0
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 40x28
-            text run at (2,2) width 40: "test "
-          RenderText {#text} at (42,2) size 34x28
-            text run at (42,2) width 34: "test"
-caret: position 5 of child 0 {#text} of child 0 {DIV} of child 3 {DIV} of body
+Tests: 
+Smart paste when pasting at the beginning of a line before a word.
+Expected Results: 
+A space should be added after the pasted word before the preexising word. It should like this: 
+test test
+test test
+execCopyCommand: <div id="test" class="editing"> test </div>
+execPasteCommand: <div id="test" class="editing">test&nbsp;test </div>
index 403fd24..bc3cd7b 100644 (file)
@@ -1,6 +1,6 @@
-<html> 
+<!DOCTYPE html>
+<html>
 <head>
-
 <style>
 .editing { 
     border: 2px solid red; 
 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
 .expected-results:first-line { font-weight: bold }
 </style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
-    var target = document.getElementById('test');
-    var x = target.offsetLeft + target.offsetWidth / 2;
-    var y = target.offsetTop + target.offsetHeight / 2;
-    doubleClick(x, y);
-    copyCommand();
-    moveSelectionBackwardByWordCommand();
-    pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title> 
 </head> 
 <body>
-
 <div class="explanation">
 <div class="scenario">
 Tests: 
@@ -45,7 +27,7 @@ Smart paste when pasting at the beginning of a line before a word.
 <div class="expected-results">
 Expected Results:
 <br>
-A space should be added after the pasted word before the preexising word. It should like this this:
+A space should be added after the pasted word before the preexising word. It should like this:
 <BR>
 test test
 </div>
@@ -56,10 +38,20 @@ test test
 test
 </div>
 </div>
-
+<script src="../editing.js"></script>
 <script>
-runEditingTest();
-</script>
 
+function editingTest() {
+    var target = document.getElementById('test');
+    var x = target.offsetLeft + target.offsetWidth / 2;
+    var y = target.offsetTop + target.offsetHeight / 2;
+    doubleClick(x, y);
+    copyCommand();
+    moveSelectionBackwardByWordCommand();
+    pasteCommand();
+}
+
+runDumpAsTextEditingTest(true);
+</script>
 </body>
 </html>
diff --git a/LayoutTests/editing/pasteboard/smart-paste-003-expected.txt b/LayoutTests/editing/pasteboard/smart-paste-003-expected.txt
new file mode 100644 (file)
index 0000000..69054f0
--- /dev/null
@@ -0,0 +1,20 @@
+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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+Tests: 
+Smart paste when pasting after a word and before a space and another word.
+Expected Results: 
+A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word. It should like this: 
+test test test
+test test test
+execCopyCommand: <div id="test" class="editing"> test test </div>
+execPasteCommand: <div id="test" class="editing"> test&nbsp;test&nbsp;test</div>
index 0f60f39..6e5a609 100644 (file)
@@ -1,6 +1,7 @@
-<html> 
+<!DOCTYPE html>
+<html>
 <head>
-
+<script src="../../../resources/dump-as-markup.js"></script>
 <style>
 .editing { 
     border: 2px solid red; 
 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
 .expected-results:first-line { font-weight: bold }
 </style>
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-
-<script>
-
-function editingTest() {
-    doubleClickAtSelectionStart();
-    copyCommand();
-    moveSelectionForwardByCharacterCommand();
-    pasteCommand();
-}
-
-</script>
-
-<title>Editing Test</title> 
 </head> 
 <body>
-
 <div class="explanation">
 <div class="scenario">
 Tests: 
@@ -42,7 +28,7 @@ Smart paste when pasting after a word and before a space and another word.
 <div class="expected-results">
 Expected Results:
 <br>
-A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word. It should like this this:
+A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word. It should like this:
 <BR>
 test test test
 </div>
@@ -53,10 +39,17 @@ test test test
 test test
 </div>
 </div>
-
+<script src="../editing.js"></script>
 <script>
-runEditingTest();
-</script>
 
+function editingTest() {
+    doubleClickAtSelectionStart();
+    copyCommand();
+    moveSelectionForwardByCharacterCommand();
+    pasteCommand();
+}
+
+runDumpAsTextEditingTest(true);
+</script>
 </body>
 </html>
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-001-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-001-expected.png
deleted file mode 100644 (file)
index 6512bc5..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-001-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-002-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-002-expected.png
deleted file mode 100644 (file)
index bea8929..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-002-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.png b/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.png
deleted file mode 100644 (file)
index 12d3332..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt b/LayoutTests/platform/chromium-linux/editing/pasteboard/smart-paste-003-expected.txt
deleted file mode 100644 (file)
index a6ba725..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x238 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x55
-          RenderText {#text} at (0,0) size 66x26
-            text run at (0,0) width 66: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,27) size 734x27
-            text run at (0,27) width 734: "Smart paste when pasting after a word and before a space and another word."
-        RenderBlock {DIV} at (14,85) size 756x139
-          RenderText {#text} at (0,0) size 189x26
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,21) size 0x0
-          RenderText {#text} at (0,27) size 716x83
-            text run at (0,27) width 716: "A space should be added between the preexisting word and the word that's"
-            text run at (0,55) width 712: "pasted. No space should be added after the pasted word. It should like this"
-            text run at (0,83) width 46: "this: "
-          RenderBR {BR} at (46,104) size 0x0
-          RenderText {#text} at (0,111) size 114x27
-            text run at (0,111) width 114: "test test test"
-      RenderBlock {DIV} at (0,262) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x27
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 40x27
-            text run at (36,2) width 40: " test"
-          RenderText {#text} at (76,2) size 40x27
-            text run at (76,2) width 40: " test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-caret: position 5 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.png
deleted file mode 100644 (file)
index 3d881f0..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-001-expected.txt
deleted file mode 100644 (file)
index 520779e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x55
-          RenderText {#text} at (0,0) size 66x26
-            text run at (0,0) width 66: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,27) size 558x27
-            text run at (0,27) width 558: "Smart paste when pasting after a word at the end of a line."
-        RenderBlock {DIV} at (14,85) size 756x111
-          RenderText {#text} at (0,0) size 189x26
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,21) size 0x0
-          RenderText {#text} at (0,27) size 716x55
-            text run at (0,27) width 716: "A space should be added between the preexisting word and the word that's"
-            text run at (0,55) width 291: "pasted. It should like this this: "
-          RenderBR {BR} at (291,76) size 0x0
-          RenderText {#text} at (0,83) size 74x27
-            text run at (0,83) width 74: "test test"
-      RenderBlock {DIV} at (0,234) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x27
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 40x27
-            text run at (36,2) width 40: " test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-          RenderText {#text} at (0,0) size 0x0
-caret: position 5 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.png
deleted file mode 100644 (file)
index d4cef53..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-002-expected.txt
deleted file mode 100644 (file)
index ce0464f..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x210 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x55
-          RenderText {#text} at (0,0) size 66x26
-            text run at (0,0) width 66: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,27) size 633x27
-            text run at (0,27) width 633: "Smart paste when pasting at the beginning of a line before a word."
-        RenderBlock {DIV} at (14,85) size 756x111
-          RenderText {#text} at (0,0) size 189x26
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,21) size 0x0
-          RenderText {#text} at (0,27) size 739x55
-            text run at (0,27) width 739: "A space should be added after the pasted word before the preexising word. It"
-            text run at (0,55) width 196: "should like this this: "
-          RenderBR {BR} at (196,76) size 0x0
-          RenderText {#text} at (0,83) size 74x27
-            text run at (0,83) width 74: "test test"
-      RenderBlock {DIV} at (0,234) size 784x32
-        RenderBlock (anonymous) at (0,0) size 784x0
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 40x27
-            text run at (2,2) width 40: "test "
-          RenderText {#text} at (42,2) size 34x27
-            text run at (42,2) width 34: "test"
-caret: position 5 of child 0 {#text} of child 0 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.png b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.png
deleted file mode 100644 (file)
index b9987d2..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-003-expected.txt
deleted file mode 100644 (file)
index 154f19d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 6 of #text > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 6 of #text > DIV > DIV > BODY > HTML > #document to 6 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 {DIV} at (0,0) size 784x238 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x55
-          RenderText {#text} at (0,0) size 66x26
-            text run at (0,0) width 66: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,27) size 734x27
-            text run at (0,27) width 734: "Smart paste when pasting after a word and before a space and another word."
-        RenderBlock {DIV} at (14,85) size 756x139
-          RenderText {#text} at (0,0) size 189x26
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,21) size 0x0
-          RenderText {#text} at (0,27) size 716x83
-            text run at (0,27) width 716: "A space should be added between the preexisting word and the word that's"
-            text run at (0,55) width 712: "pasted. No space should be added after the pasted word. It should like this"
-            text run at (0,83) width 46: "this: "
-          RenderBR {BR} at (46,104) size 0x0
-          RenderText {#text} at (0,111) size 114x27
-            text run at (0,111) width 114: "test test test"
-      RenderBlock {DIV} at (0,262) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 40x27
-            text run at (2,2) width 40: "test "
-          RenderText {#text} at (42,2) size 46x27
-            text run at (42,2) width 46: "test  "
-          RenderText {#text} at (88,2) size 34x27
-            text run at (88,2) width 34: "test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-caret: position 6 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.png
deleted file mode 100644 (file)
index 3f61b3a..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-001-expected.txt
deleted file mode 100644 (file)
index 00be4d5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 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 {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x56
-          RenderText {#text} at (0,0) size 67x28
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,28) size 564x28
-            text run at (0,28) width 564: "Smart paste when pasting after a word at the end of a line."
-        RenderBlock {DIV} at (14,86) size 756x112
-          RenderText {#text} at (0,0) size 189x28
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,22) size 0x0
-          RenderText {#text} at (0,28) size 720x56
-            text run at (0,28) width 720: "A space should be added between the preexisting word and the word that's"
-            text run at (0,56) width 297: "pasted. It should like this this: "
-          RenderBR {BR} at (297,78) size 0x0
-          RenderText {#text} at (0,84) size 74x28
-            text run at (0,84) width 74: "test test"
-      RenderBlock {DIV} at (0,236) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x28
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 34x28
-            text run at (36,2) width 34: "test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-          RenderText {#text} at (0,0) size 0x0
-caret: position 4 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.png
deleted file mode 100644 (file)
index 28b92d8..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-002-expected.txt
deleted file mode 100644 (file)
index 2bd7740..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 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 {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x56
-          RenderText {#text} at (0,0) size 67x28
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,28) size 643x28
-            text run at (0,28) width 643: "Smart paste when pasting at the beginning of a line before a word."
-        RenderBlock {DIV} at (14,86) size 756x112
-          RenderText {#text} at (0,0) size 189x28
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,22) size 0x0
-          RenderText {#text} at (0,28) size 743x56
-            text run at (0,28) width 743: "A space should be added after the pasted word before the preexising word. It"
-            text run at (0,56) width 202: "should like this this: "
-          RenderBR {BR} at (202,78) size 0x0
-          RenderText {#text} at (0,84) size 74x28
-            text run at (0,84) width 74: "test test"
-      RenderBlock {DIV} at (0,236) size 784x32
-        RenderBlock (anonymous) at (0,0) size 784x0
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x28
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 34x28
-            text run at (36,2) width 34: "test"
-caret: position 4 of child 0 {#text} of child 0 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.png b/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.png
deleted file mode 100644 (file)
index 3a180b2..0000000
Binary files a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.txt b/LayoutTests/platform/gtk/editing/pasteboard/smart-paste-003-expected.txt
deleted file mode 100644 (file)
index d651d5d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 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 {DIV} at (0,0) size 784x240 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x56
-          RenderText {#text} at (0,0) size 67x28
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,28) size 738x28
-            text run at (0,28) width 738: "Smart paste when pasting after a word and before a space and another word."
-        RenderBlock {DIV} at (14,86) size 756x140
-          RenderText {#text} at (0,0) size 189x28
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,22) size 0x0
-          RenderText {#text} at (0,28) size 720x84
-            text run at (0,28) width 720: "A space should be added between the preexisting word and the word that's"
-            text run at (0,56) width 717: "pasted. No space should be added after the pasted word. It should like this"
-            text run at (0,84) width 48: "this: "
-          RenderBR {BR} at (48,106) size 0x0
-          RenderText {#text} at (0,112) size 114x28
-            text run at (0,112) width 114: "test test test"
-      RenderBlock {DIV} at (0,264) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x28
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 34x28
-            text run at (36,2) width 34: "test"
-          RenderText {#text} at (70,2) size 40x28
-            text run at (70,2) width 40: " test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-caret: position 4 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.png b/LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.png
deleted file mode 100644 (file)
index b4e2ca6..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.txt b/LayoutTests/platform/mac/editing/pasteboard/smart-paste-001-expected.txt
deleted file mode 100644 (file)
index 28c3852..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x212 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x56
-          RenderText {#text} at (0,0) size 67x28
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,28) size 564x28
-            text run at (0,28) width 564: "Smart paste when pasting after a word at the end of a line."
-        RenderBlock {DIV} at (14,86) size 756x112
-          RenderText {#text} at (0,0) size 189x28
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,22) size 0x0
-          RenderText {#text} at (0,28) size 720x56
-            text run at (0,28) width 720: "A space should be added between the preexisting word and the word that's"
-            text run at (0,56) width 297: "pasted. It should like this this: "
-          RenderBR {BR} at (297,78) size 0x0
-          RenderText {#text} at (0,84) size 74x28
-            text run at (0,84) width 74: "test test"
-      RenderBlock {DIV} at (0,236) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x28
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 40x28
-            text run at (36,2) width 40: " test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-          RenderText {#text} at (0,0) size 0x0
-caret: position 5 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-002-expected.png b/LayoutTests/platform/mac/editing/pasteboard/smart-paste-002-expected.png
deleted file mode 100644 (file)
index 5b11014..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-002-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.png b/LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.png
deleted file mode 100644 (file)
index 851937c..0000000
Binary files a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.txt b/LayoutTests/platform/mac/editing/pasteboard/smart-paste-003-expected.txt
deleted file mode 100644 (file)
index 31bd112..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x240 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x56
-          RenderText {#text} at (0,0) size 67x28
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,28) size 738x28
-            text run at (0,28) width 738: "Smart paste when pasting after a word and before a space and another word."
-        RenderBlock {DIV} at (14,86) size 756x140
-          RenderText {#text} at (0,0) size 189x28
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,22) size 0x0
-          RenderText {#text} at (0,28) size 720x84
-            text run at (0,28) width 720: "A space should be added between the preexisting word and the word that's"
-            text run at (0,56) width 717: "pasted. No space should be added after the pasted word. It should like this"
-            text run at (0,84) width 48: "this: "
-          RenderBR {BR} at (48,106) size 0x0
-          RenderText {#text} at (0,112) size 114x28
-            text run at (0,112) width 114: "test test test"
-      RenderBlock {DIV} at (0,264) size 784x32
-        RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 34x28
-            text run at (2,2) width 34: "test"
-          RenderText {#text} at (36,2) size 40x28
-            text run at (36,2) width 40: " test"
-          RenderText {#text} at (76,2) size 40x28
-            text run at (76,2) width 40: " test"
-        RenderBlock (anonymous) at (0,32) size 784x0
-caret: position 5 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-001-expected.txt b/LayoutTests/platform/qt/editing/pasteboard/smart-paste-001-expected.txt
deleted file mode 100644 (file)
index fa2d91e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x242 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x66
-          RenderText {#text} at (0,0) size 67x33
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,33) size 597x33
-            text run at (0,33) width 597: "Smart paste when pasting after a word at the end of a line."
-        RenderBlock {DIV} at (14,96) size 756x132
-          RenderText {#text} at (0,0) size 189x33
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,24) size 0x0
-          RenderText {#text} at (0,33) size 698x66
-            text run at (0,33) width 698: "A space should be added between the preexisting word and the word"
-            text run at (0,66) width 375: "that's pasted. It should like this this: "
-          RenderBR {BR} at (375,90) size 0x0
-          RenderText {#text} at (0,99) size 78x33
-            text run at (0,99) width 78: "test test"
-      RenderBlock {DIV} at (0,266) size 784x37
-        RenderBlock {DIV} at (0,0) size 784x37 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 36x33
-            text run at (2,2) width 36: "test"
-          RenderText {#text} at (38,2) size 42x33
-            text run at (38,2) width 42: " test"
-        RenderBlock (anonymous) at (0,37) size 784x0
-          RenderText {#text} at (0,0) size 0x0
-caret: position 5 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.png b/LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.png
deleted file mode 100644 (file)
index 1cf5907..0000000
Binary files a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.txt b/LayoutTests/platform/qt/editing/pasteboard/smart-paste-002-expected.txt
deleted file mode 100644 (file)
index b0c8cff..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x242 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x66
-          RenderText {#text} at (0,0) size 67x33
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,33) size 677x33
-            text run at (0,33) width 677: "Smart paste when pasting at the beginning of a line before a word."
-        RenderBlock {DIV} at (14,96) size 756x132
-          RenderText {#text} at (0,0) size 189x33
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,24) size 0x0
-          RenderText {#text} at (0,33) size 697x66
-            text run at (0,33) width 697: "A space should be added after the pasted word before the preexising"
-            text run at (0,66) width 299: "word. It should like this this: "
-          RenderBR {BR} at (299,90) size 0x0
-          RenderText {#text} at (0,99) size 78x33
-            text run at (0,99) width 78: "test test"
-      RenderBlock {DIV} at (0,266) size 784x37
-        RenderBlock (anonymous) at (0,0) size 784x0
-        RenderBlock {DIV} at (0,0) size 784x37 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 42x33
-            text run at (2,2) width 42: "test "
-          RenderText {#text} at (44,2) size 36x33
-            text run at (44,2) width 36: "test"
-caret: position 5 of child 0 {#text} of child 0 {DIV} of child 3 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.png b/LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.png
deleted file mode 100644 (file)
index 90e5a9d..0000000
Binary files a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.txt b/LayoutTests/platform/qt/editing/pasteboard/smart-paste-003-expected.txt
deleted file mode 100644 (file)
index 79c5585..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-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: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 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 {DIV} at (0,0) size 784x308 [border: (2px solid #0000FF)]
-        RenderBlock {DIV} at (14,14) size 756x99
-          RenderText {#text} at (0,0) size 67x33
-            text run at (0,0) width 67: "Tests: "
-          RenderBR {BR} at (0,0) size 0x0
-          RenderText {#text} at (0,33) size 722x66
-            text run at (0,33) width 722: "Smart paste when pasting after a word and before a space and another"
-            text run at (0,66) width 59: "word."
-        RenderBlock {DIV} at (14,129) size 756x165
-          RenderText {#text} at (0,0) size 189x33
-            text run at (0,0) width 189: "Expected Results: "
-          RenderBR {BR} at (189,24) size 0x0
-          RenderText {#text} at (0,33) size 730x99
-            text run at (0,33) width 698: "A space should be added between the preexisting word and the word"
-            text run at (0,66) width 730: "that's pasted. No space should be added after the pasted word. It should"
-            text run at (0,99) width 138: "like this this: "
-          RenderBR {BR} at (138,123) size 0x0
-          RenderText {#text} at (0,132) size 120x33
-            text run at (0,132) width 120: "test test test"
-      RenderBlock {DIV} at (0,332) size 784x37
-        RenderBlock {DIV} at (0,0) size 784x37 [border: (2px solid #FF0000)]
-          RenderText {#text} at (2,2) size 36x33
-            text run at (2,2) width 36: "test"
-          RenderText {#text} at (38,2) size 42x33
-            text run at (38,2) width 42: " test"
-          RenderText {#text} at (80,2) size 42x33
-            text run at (80,2) width 42: " test"
-        RenderBlock (anonymous) at (0,37) size 784x0
-caret: position 5 of child 1 {#text} of child 1 {DIV} of child 3 {DIV} of body