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
--- /dev/null
+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 test</div>
+<!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:
<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>
test
</div>
</div>
-
+<script src="../editing.js"></script>
<script>
-runEditingTest();
-</script>
+function editingTest() {
+ doubleClickAtSelectionStart();
+ copyCommand();
+ moveSelectionForwardByCharacterCommand();
+ pasteCommand();
+}
+
+runDumpAsTextEditingTest(true);
+</script>
</body>
</html>
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 test </div>
-<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:
<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>
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>
--- /dev/null
+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 test test</div>
-<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:
<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>
test test
</div>
</div>
-
+<script src="../editing.js"></script>
<script>
-runEditingTest();
-</script>
+function editingTest() {
+ doubleClickAtSelectionStart();
+ copyCommand();
+ moveSelectionForwardByCharacterCommand();
+ pasteCommand();
+}
+
+runDumpAsTextEditingTest(true);
+</script>
</body>
</html>
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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