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>
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: 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
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"
RenderText {#text} at (25,14) size 23x27
text run at (25,14) width 23: "ax"
RenderInline {SPAN} at (0,0) size 110x27
RenderText {#text} at (48,14) size 110x27
text run at (48,14) width 110: "\x{9}\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 1 {#text} of child 1 {SPAN} of child 1 {DIV} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
You should see aax\tz below:
| "
"
| <span>
| id="test"
| "a"
| "ax<#selection-caret>"
| <span>
| class="Apple-tab-span"
| style="white-space:pre"
| " "
| "z"
| "
"
<!DOCTYPE html>
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<div contenteditable id="root" style="border: 2px solid red; padding: 12px; font-size: 24px">
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
</div>
<script src="../editing.js"></script>
<script src="../../resources/dump-as-markup.js"></script>
<script>
function editingTest() {
extendSelectionForwardByCharacterCommand();
copyCommand();
moveSelectionForwardByCharacterCommand();
pasteCommand();
typeCharacterCommand();
}
var test = document.getElementById('test');
test.focus();
window.getSelection().setPosition(test, 0);
</script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
<title>Editing Test</title>
</head>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<div contenteditable id="root" class="editing">
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
</div>
extendSelectionForwardByCharacterCommand();
copyCommand();
moveSelectionForwardByCharacterCommand();
pasteCommand();
typeCharacterCommand();
<script>
runEditingTest();
</script>
Markup.dump('root', 'You should see aax\\tz below');
</script>
</body>
</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
......@@ -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: 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 784x59 [border: (2px solid #FF0000)]
RenderInline {SPAN} at (0,0) size 65x32
RenderText {#text} at (14,14) size 12x32
text run at (14,14) width 12: "a"
RenderInline {SPAN} at (0,0) size 6x32
RenderText {#text} at (26,14) size 6x32
text run at (26,14) width 6: "\x{9}"
RenderText {#text} at (32,14) size 24x32
text run at (32,14) width 24: "ax"
RenderInline {SPAN} at (0,0) size 12x32
RenderText {#text} at (56,14) size 12x32
text run at (56,14) width 12: "\x{9}\x{9}"
RenderText {#text} at (68,14) size 11x32
text run at (68,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: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidEndEditing:WebViewDidEndEditingNotification
You should see a\tax\t\tz below:
| "
"
| <span>
| id="test"
| "a"
| <span>
| class="Apple-tab-span"
| style="white-space:pre"
| " "
| "ax<#selection-caret>"
| <span>
| class="Apple-tab-span"
| style="white-space:pre"
| " "
| "z"
| "
"
<!DOCTYPE html>
<html>
<head>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<div contenteditable id="root" style="border: 2px solid red; padding: 12px; font-size: 24px">
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
</div>
<script src="../editing.js"></script>
<script src="../../resources/dump-as-markup.js"></script>
<script>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
var test = document.getElementById('test');
test.focus();
window.getSelection().setPosition(test, 0);
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
function editingTest() {
extendSelectionForwardByCharacterCommand();
copyCommand();
for (i = 0; i < 2; i++)
extendSelectionForwardByCharacterCommand();
copyCommand();
for (i = 0; i < 2; i++)
moveSelectionForwardByCharacterCommand();
pasteCommand();
typeCharacterCommand();
}
</script>
pasteCommand();
typeCharacterCommand();
<title>Editing Test</title>
</head>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<div contenteditable id="root" class="editing">
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
</div>
Markup.dump('root', 'You should see a\\tax\\t\\tz below');
<script>
runEditingTest();
</script>
</body>
</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