Commit 4f635d62 authored by rniwa@webkit.org's avatar rniwa@webkit.org

2011-04-08 Ryosuke Niwa <rniwa@webkit.org>

        Reviewed by Tony Chang.

        dump-as-markup conversion: editing/pasteboard/paste-text-at-tabspan-001.html and paste-text-at-tabspan-002.html
        https://bugs.webkit.org/show_bug.cgi?id=58081

        Converted paste-text-at-tabspan-001.html and paste-text-at-tabspan-002.html to dump-as-markup tests.
        Also explained what to expect in each test.

        * editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Added.
        * editing/pasteboard/paste-text-at-tabspan-001.html:
        * editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Added.
        * editing/pasteboard/paste-text-at-tabspan-002.html:
        * platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
        * platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
        * platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
        * platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
        * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
        * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
        * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
        * platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
        * platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
        * platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
        * platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
        * platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
        * platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
        * platform/qt/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
        * platform/qt/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
        * platform/qt/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
        * platform/qt/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6323a405
2011-04-08 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Tony Chang.
dump-as-markup conversion: editing/pasteboard/paste-text-at-tabspan-001.html and paste-text-at-tabspan-002.html
https://bugs.webkit.org/show_bug.cgi?id=58081
Converted paste-text-at-tabspan-001.html and paste-text-at-tabspan-002.html to dump-as-markup tests.
Also explained what to expect in each test.
* editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Added.
* editing/pasteboard/paste-text-at-tabspan-001.html:
* editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Added.
* editing/pasteboard/paste-text-at-tabspan-002.html:
* platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
* platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
* platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
* platform/chromium-linux/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
* platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
* platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Removed.
* platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
* platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
* platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Removed.
* platform/qt/editing/pasteboard/paste-text-at-tabspan-002-expected.png: Removed.
* platform/qt/editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Removed.
2011-04-08 Ryosuke Niwa <rniwa@webkit.org> 2011-04-08 Ryosuke Niwa <rniwa@webkit.org>
Rebaselines and text expectation updates after r83322. Rebaselines and text expectation updates after r83322.
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
...@@ -11,21 +8,20 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio ...@@ -11,21 +8,20 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
RenderView at (0,0) size 800x600 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600 You should see aax\tz below:
RenderBody {BODY} at (8,8) size 784x584 | "
RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] "
RenderInline {SPAN} at (0,0) size 154x27 | <span>
RenderText {#text} at (14,14) size 11x27 | id="test"
text run at (14,14) width 11: "a" | "a"
RenderText {#text} at (25,14) size 23x27 | "ax<#selection-caret>"
text run at (25,14) width 23: "ax" | <span>
RenderInline {SPAN} at (0,0) size 110x27 | class="Apple-tab-span"
RenderText {#text} at (48,14) size 110x27 | style="white-space:pre"
text run at (48,14) width 110: "\x{9}\x{9}\x{9}" | " "
RenderText {#text} at (158,14) size 10x27 | "z"
text run at (158,14) width 10: "z" | "
RenderText {#text} at (0,0) size 0x0 "
caret: position 2 of child 1 {#text} of child 1 {SPAN} of child 1 {DIV} of body
<html> <!DOCTYPE html>
<head> <html>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<style> <div contenteditable id="root" style="border: 2px solid red; padding: 12px; font-size: 24px">
.editing { <span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
border: 2px solid red; </div>
padding: 12px; <script src="../editing.js"></script>
font-size: 24px; <script src="../../resources/dump-as-markup.js"></script>
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script> <script>
function editingTest() { var test = document.getElementById('test');
extendSelectionForwardByCharacterCommand(); test.focus();
copyCommand(); window.getSelection().setPosition(test, 0);
moveSelectionForwardByCharacterCommand();
pasteCommand();
typeCharacterCommand();
}
</script> if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
<title>Editing Test</title> extendSelectionForwardByCharacterCommand();
</head> copyCommand();
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "> moveSelectionForwardByCharacterCommand();
<div contenteditable id="root" class="editing"> pasteCommand();
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span> typeCharacterCommand();
</div>
<script> Markup.dump('root', 'You should see aax\\tz below');
runEditingTest();
</script>
</script>
</body> </body>
</html> </html>
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
...@@ -13,24 +10,24 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio ...@@ -13,24 +10,24 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
RenderView at (0,0) size 800x600 EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600 You should see a\tax\t\tz below:
RenderBody {BODY} at (8,8) size 784x584 | "
RenderBlock {DIV} at (0,0) size 784x59 [border: (2px solid #FF0000)] "
RenderInline {SPAN} at (0,0) size 65x32 | <span>
RenderText {#text} at (14,14) size 12x32 | id="test"
text run at (14,14) width 12: "a" | "a"
RenderInline {SPAN} at (0,0) size 6x32 | <span>
RenderText {#text} at (26,14) size 6x32 | class="Apple-tab-span"
text run at (26,14) width 6: "\x{9}" | style="white-space:pre"
RenderText {#text} at (32,14) size 24x32 | " "
text run at (32,14) width 24: "ax" | "ax<#selection-caret>"
RenderInline {SPAN} at (0,0) size 12x32 | <span>
RenderText {#text} at (56,14) size 12x32 | class="Apple-tab-span"
text run at (56,14) width 12: "\x{9}\x{9}" | style="white-space:pre"
RenderText {#text} at (68,14) size 11x32 | " "
text run at (68,14) width 11: "z" | "z"
RenderText {#text} at (0,0) size 0x0 | "
caret: position 2 of child 2 {#text} of child 1 {SPAN} of child 1 {DIV} of body "
<html> <!DOCTYPE html>
<head> <html>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<style> <div contenteditable id="root" style="border: 2px solid red; padding: 12px; font-size: 24px">
.editing { <span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
border: 2px solid red; </div>
padding: 12px; <script src="../editing.js"></script>
font-size: 24px; <script src="../../resources/dump-as-markup.js"></script>
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script> <script>
function editingTest() { var test = document.getElementById('test');
extendSelectionForwardByCharacterCommand(); test.focus();
copyCommand(); window.getSelection().setPosition(test, 0);
for (i = 0; i < 2; i++)
moveSelectionForwardByCharacterCommand();
pasteCommand();
typeCharacterCommand();
}
</script> if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
<title>Editing Test</title> extendSelectionForwardByCharacterCommand();
</head> copyCommand();
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "> for (i = 0; i < 2; i++)
<div contenteditable id="root" class="editing"> moveSelectionForwardByCharacterCommand();
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span> pasteCommand();
</div> typeCharacterCommand();
<script> Markup.dump('root', 'You should see a\\tax\\t\\tz below');
runEditingTest();
</script>
</script>
</body> </body>
</html> </html>
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
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 784x56 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 154x27
RenderText {#text} at (14,14) size 11x27
text run at (14,14) width 11: "a"
RenderInline {SPAN} at (0,0) size 37x27
RenderText {#text} at (25,14) size 37x27
text run at (25,14) width 37: "\x{9}"
RenderText {#text} at (62,14) size 23x27
text run at (62,14) width 23: "ax"
RenderInline {SPAN} at (0,0) size 73x27
RenderText {#text} at (85,14) size 73x27
text run at (85,14) width 73: "\x{9}\x{9}"
RenderText {#text} at (158,14) size 10x27
text run at (158,14) width 10: "z"
RenderText {#text} at (0,0) size 0x0
caret: position 2 of child 2 {#text} of child 1 {SPAN} of child 1 {DIV} of body
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
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 784x56 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 155x28
RenderText {#text} at (14,14) size 11x28
text run at (14,14) width 11: "a"
RenderText {#text} at (25,14) size 23x28
text run at (25,14) width 23: "ax"
RenderInline {SPAN} at (0,0) size 110x28
RenderText {#text} at (48,14) size 110x28
text run at (48,14) width 110: "\x{9}\x{9}\x{9}"
RenderText {#text} at (158,14) size 11x28
text run at (158,14) width 11: "z"
RenderText {#text} at (0,0) size 0x0
caret: position 2 of child 1 {#text} of child 1 {SPAN} of child 1 {DIV} of body
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
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 784x56 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 155x28
RenderText {#text} at (14,14) size 11x28
text run at (14,14) width 11: "a"
RenderInline {SPAN} at (0,0) size 37x28
RenderText {#text} at (25,14) size 37x28
text run at (25,14) width 37: "\x{9}"
RenderText {#text} at (62,14) size 23x28
text run at (62,14) width 23: "ax"
RenderInline {SPAN} at (0,0) size 73x28
RenderText {#text} at (85,14) size 73x28
text run at (85,14) width 73: "\x{9}\x{9}"
RenderText {#text} at (158,14) size 11x28
text run at (158,14) width 11: "z"
RenderText {#text} at (0,0) size 0x0
caret: position 2 of child 2 {#text} of child 1 {SPAN} of child 1 {DIV} of body
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
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 784x56 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 155x28
RenderText {#text} at (14,14) size 11x28
text run at (14,14) width 11: "a"
RenderText {#text} at (25,14) size 23x28
text run at (25,14) width 23: "ax"
RenderInline {SPAN} at (0,0) size 110x28
RenderText {#text} at (48,14) size 110x28
text run at (48,14) width 110: "\x{9}\x{9}\x{9}"
RenderText {#text} at (158,14) size 11x28
text run at (158,14) width 11: "z"
RenderText {#text} at (0,0) size 0x0
caret: position 2 of child 1 {#text} of child 1 {SPAN} of child 1 {DIV} of body
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
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 784x56 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 155x28
RenderText {#text} at (14,14) size 11x28
text run at (14,14) width 11: "a"
RenderInline {SPAN} at (0,0) size 37x28
RenderText {#text} at (25,14) size 37x28
text run at (25,14) width 37: "\x{9}"
RenderText {#text} at (62,14) size 23x28
text run at (62,14) width 23: "ax"
RenderInline {SPAN} at (0,0) size 73x28
RenderText {#text} at (85,14) size 73x28
text run at (85,14) width 73: "\x{9}\x{9}"
RenderText {#text} at (158,14) size 11x28
text run at (158,14) width 11: "z"
RenderText {#text} at (0,0) size 0x0
caret: position 2 of child 2 {#text} of child 1 {SPAN} of child 1 {DIV} of body
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > SPAN > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > SPAN > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > SPAN > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > SPAN > SPAN > 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 784x58 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 71x29
RenderText {#text} at (14,14) size 13x29
text run at (14,14) width 13: "a"
RenderInline {SPAN} at (0,0) size 46x29
RenderInline {SPAN} at (0,0) size 25x29
RenderText {#text} at (27,14) size 25x29
text run at (27,14) width 25: "ax"
RenderText {#text} at (52,14) size 21x29
text run at (52,14) width 21: "\x{9}\x{9}\x{9}"
RenderText {#text} at (73,14) size 12x29
text run at (73,14) width 12: "z"
RenderText {#text} at (0,0) size 0x0
caret: position 2 of child 0 {#text} of child 0 {SPAN} of child 1 {SPAN} of child 1 {SPAN} of child 1 {DIV} of body
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment