Commit 6683441a authored by rniwa@webkit.org's avatar rniwa@webkit.org

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

        Reviewed by Eric Seidel.

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

        Converted the tests.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6aedb680
2011-04-07 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Eric Seidel.
dump-as-markup conversion: editing/pasteboard/paste-text-001.html and paste-text-011.html
https://bugs.webkit.org/show_bug.cgi?id=58078
Converted the tests.
* editing/pasteboard/paste-text-001-expected.txt: Added.
* editing/pasteboard/paste-text-001.html:
* editing/pasteboard/paste-text-011-expected.txt: Added.
* editing/pasteboard/paste-text-011.html:
* platform/chromium-linux/editing/pasteboard/paste-text-001-expected.checksum: Removed.
* platform/chromium-linux/editing/pasteboard/paste-text-001-expected.png: Removed.
* platform/chromium-linux/editing/pasteboard/paste-text-011-expected.checksum: Removed.
* platform/chromium-linux/editing/pasteboard/paste-text-011-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-001-expected.checksum: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-001-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-001-expected.txt: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-011-expected.checksum: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-011-expected.png: Removed.
* platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt: Removed.
* platform/gtk/editing/pasteboard/paste-text-001-expected.txt: Removed.
* platform/gtk/editing/pasteboard/paste-text-011-expected.checksum: Removed.
* platform/gtk/editing/pasteboard/paste-text-011-expected.png: Removed.
* platform/gtk/editing/pasteboard/paste-text-011-expected.txt: Removed.
* platform/mac-leopard/editing/pasteboard/paste-text-011-expected.checksum: Removed.
* platform/mac-leopard/editing/pasteboard/paste-text-011-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-text-001-expected.checksum: Removed.
* platform/mac/editing/pasteboard/paste-text-001-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-text-001-expected.txt: Removed.
* platform/mac/editing/pasteboard/paste-text-011-expected.checksum: Removed.
* platform/mac/editing/pasteboard/paste-text-011-expected.png: Removed.
* platform/mac/editing/pasteboard/paste-text-011-expected.txt: Removed.
* platform/qt/editing/pasteboard/paste-text-011-expected.checksum: Removed.
* platform/qt/editing/pasteboard/paste-text-011-expected.png: Removed.
* platform/qt/editing/pasteboard/paste-text-011-expected.txt: Removed.
2011-04-07 Kent Tamura <tkent@chromium.org>
[Chromium] Update expectations for r83216 and r83235.
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
......@@ -15,18 +12,16 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 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 139x27
RenderText {#text} at (14,14) size 69x27
text run at (14,14) width 69: "foo bar"
RenderText {#text} at (83,14) size 31x27
text run at (83,14) width 31: "bar"
RenderText {#text} at (114,14) size 39x27
text run at (114,14) width 39: " baz"
RenderText {#text} at (0,0) size 0x0
caret: position 3 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 "foo barbar baz" below:
| "
"
| <span>
| id="test"
| "foo bar"
| "bar<#selection-caret>"
| " baz"
| "
"
<html>
<head>
<!DOCTYPE html>
<html>
<body>
<div contenteditable id="root" class="editing">
<span id="test">foo bar baz</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(root, 0);
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
function editingTest() {
for (i = 0; i < 4; i++)
moveSelectionForwardByCharacterCommand();
for (i = 0; i < 3; i++)
extendSelectionForwardByCharacterCommand();
copyCommand();
for (i = 0; i < 4; i++)
moveSelectionForwardByCharacterCommand();
pasteCommand();
}
</script>
for (i = 0; i < 3; i++)
extendSelectionForwardByCharacterCommand();
copyCommand();
moveSelectionForwardByCharacterCommand();
pasteCommand();
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test">foo bar baz</span>
</div>
Markup.dump('root', 'You should see "foo barbar baz" below');
<script>
runEditingTest();
</script>
</body>
</html>
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document toDOMRange:range from 0 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
......@@ -12,36 +9,39 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > FONT > P > 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 784x576
RenderBlock {P} at (0,0) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "hello"
RenderBlock {P} at (0,37) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "there"
RenderBlock {P} at (0,74) size 784x58
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x58
RenderBlock {P} at (0,0) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "hello"
RenderBlock {P} at (0,37) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "there"
RenderBlock (anonymous) at (0,74) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderInline {FONT} at (0,0) size 0x0
caret: position 5 of child 0 {#text} of child 0 {B} of child 0 {FONT} of child 1 {P} of child 0 {FONT} of child 4 {P} of body
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
There was a bug when pasting at the end of the block.
The content was inserted at the start of the block instead of the end. This tests the insert-at-end case.
| "
"
| <p>
| <font>
| face="Monaco"
| <b>
| "hello"
| "
"
| <p>
| <font>
| face="Monaco"
| <b>
| "there"
| <p>
| <font>
| face="Monaco"
| <p>
| style="font-family: Times; "
| <font>
| face="Monaco"
| <b>
| "hello"
| <p>
| style="font-family: Times; "
| <font>
| face="Monaco"
| <b>
| "there<#selection-caret>"
| "
"
<html>
<!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>
<script src="../editing.js"></script>
<script src="../../resources/dump-as-markup.js"></script>
<script>
// There was a bug when pasting at the end of the block. The content was inserted at the
// start of the block instead of the end. This tests the insert-at-end case.
Markup.waitUntilDone();
function editingTest() {
document.body.focus();
window.getSelection().setPosition(document.body, 0);
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
Markup.description('There was a bug when pasting at the end of the block.\n'+
'The content was inserted at the start of the block instead of the end. This tests the insert-at-end case.');
selectAllCommand();
copyCommand();
moveSelectionForwardByCharacterCommand();
insertParagraphCommand();
pasteCommand();
Markup.dump(document.body);
Markup.notifyDone();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable id="test">
<body contenteditable id="test" onload="editingTest()">
<p><font face="Monaco"><b>hello</b></font></p>
<p><font face="Monaco"><b>there</b></font></p>
<script>
runEditingTest();
</script>
</body>
</html>
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document toDOMRange:range from 0 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document toDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > FONT > P > 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 784x576
RenderBlock {P} at (0,0) size 784x20
RenderInline {FONT} at (0,0) size 32x19
RenderInline {B} at (0,0) size 32x19
RenderText {#text} at (0,0) size 32x19
text run at (0,0) width 32: "hello"
RenderBlock {P} at (0,36) size 784x20
RenderInline {FONT} at (0,0) size 35x19
RenderInline {B} at (0,0) size 35x19
RenderText {#text} at (0,0) size 35x19
text run at (0,0) width 35: "there"
RenderBlock {P} at (0,72) size 784x56
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x56
RenderBlock {P} at (0,0) size 784x20
RenderInline {FONT} at (0,0) size 32x19
RenderInline {B} at (0,0) size 32x19
RenderText {#text} at (0,0) size 32x19
text run at (0,0) width 32: "hello"
RenderBlock {P} at (0,36) size 784x20
RenderInline {FONT} at (0,0) size 35x19
RenderInline {B} at (0,0) size 35x19
RenderText {#text} at (0,0) size 35x19
text run at (0,0) width 35: "there"
RenderBlock (anonymous) at (0,72) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderInline {FONT} at (0,0) size 0x0
caret: position 5 of child 0 {#text} of child 0 {B} of child 0 {FONT} of child 1 {P} of child 0 {FONT} of child 4 {P} 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: 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 7 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 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 140x28
RenderText {#text} at (14,14) size 69x28
text run at (14,14) width 69: "foo bar"
RenderText {#text} at (83,14) size 31x28
text run at (83,14) width 31: "bar"
RenderText {#text} at (114,14) size 40x28
text run at (114,14) width 40: " baz"
RenderText {#text} at (0,0) size 0x0
caret: position 3 of child 1 {#text} of child 1 {SPAN} of child 1 {DIV} of body
bbfd0fd04733568555a86d9cb1e019c5
\ No newline at end of file
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document toDOMRange:range from 0 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document toDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > FONT > P > 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 784x576
RenderBlock {P} at (0,0) size 784x19
RenderInline {FONT} at (0,0) size 50x19
RenderInline {B} at (0,0) size 50x19
RenderText {#text} at (0,0) size 50x19
text run at (0,0) width 50: "hello"
RenderBlock {P} at (0,35) size 784x19
RenderInline {FONT} at (0,0) size 50x19
RenderInline {B} at (0,0) size 50x19
RenderText {#text} at (0,0) size 50x19
text run at (0,0) width 50: "there"
RenderBlock {P} at (0,70) size 784x54
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x54
RenderBlock {P} at (0,0) size 784x19
RenderInline {FONT} at (0,0) size 50x19
RenderInline {B} at (0,0) size 50x19
RenderText {#text} at (0,0) size 50x19
text run at (0,0) width 50: "hello"
RenderBlock {P} at (0,35) size 784x19
RenderInline {FONT} at (0,0) size 50x19
RenderInline {B} at (0,0) size 50x19
RenderText {#text} at (0,0) size 50x19
text run at (0,0) width 50: "there"
RenderBlock (anonymous) at (0,70) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderInline {FONT} at (0,0) size 0x0
caret: position 5 of child 0 {#text} of child 0 {B} of child 0 {FONT} of child 1 {P} of child 0 {FONT} of child 4 {P} of body
8dfb429bc264dd60f8927fbb61b374fc
\ No newline at end of file
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
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 7 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 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 140x28
RenderText {#text} at (14,14) size 69x28
text run at (14,14) width 69: "foo bar"
RenderText {#text} at (83,14) size 31x28
text run at (83,14) width 31: "bar"
RenderText {#text} at (114,14) size 40x28
text run at (114,14) width 40: " baz"
RenderText {#text} at (0,0) size 0x0
caret: position 3 of child 1 {#text} of child 1 {SPAN} of child 1 {DIV} of body
9b992e4519617fd4d510f2692d6fb878
\ No newline at end of file
c53f2a2e868c239d058d7d32ab751c5c
\ No newline at end of file
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 6 of BODY > HTML > #document
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document toDOMRange:range from 0 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > BODY > HTML > #document toDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > FONT > P > 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 784x576
RenderBlock {P} at (0,0) size 784x21
RenderInline {FONT} at (0,0) size 37x20
RenderInline {B} at (0,0) size 37x20
RenderText {#text} at (0,0) size 37x20
text run at (0,0) width 37: "hello"
RenderBlock {P} at (0,37) size 784x21
RenderInline {FONT} at (0,0) size 39x20
RenderInline {B} at (0,0) size 39x20
RenderText {#text} at (0,0) size 39x20
text run at (0,0) width 39: "there"
RenderBlock {P} at (0,74) size 784x58
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x58
RenderBlock {P} at (0,0) size 784x21
RenderInline {FONT} at (0,0) size 37x20
RenderInline {B} at (0,0) size 37x20
RenderText {#text} at (0,0) size 37x20
text run at (0,0) width 37: "hello"
RenderBlock {P} at (0,37) size 784x21
RenderInline {FONT} at (0,0) size 39x20
RenderInline {B} at (0,0) size 39x20
RenderText {#text} at (0,0) size 39x20
text run at (0,0) width 39: "there"
RenderBlock (anonymous) at (0,74) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderInline {FONT} at (0,0) size 0x0
caret: position 5 of child 0 {#text} of child 0 {B} of child 0 {FONT} of child 1 {P} of child 0 {FONT} of child 4 {P} 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