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> 2011-04-07 Kent Tamura <tkent@chromium.org>
[Chromium] Update expectations for r83216 and r83235. [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 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
...@@ -15,18 +12,16 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio ...@@ -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: 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: 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 "foo barbar baz" 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 139x27 | <span>
RenderText {#text} at (14,14) size 69x27 | id="test"
text run at (14,14) width 69: "foo bar" | "foo bar"
RenderText {#text} at (83,14) size 31x27 | "bar<#selection-caret>"
text run at (83,14) width 31: "bar" | " baz"
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
<html> <!DOCTYPE html>
<head> <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> var test = document.getElementById('test');
.editing { test.focus();
border: 2px solid red; window.getSelection().setPosition(root, 0);
padding: 12px;
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script> if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
function editingTest() { for (i = 0; i < 4; i++)
for (i = 0; i < 4; i++)
moveSelectionForwardByCharacterCommand();
for (i = 0; i < 3; i++)
extendSelectionForwardByCharacterCommand();
copyCommand();
moveSelectionForwardByCharacterCommand(); moveSelectionForwardByCharacterCommand();
pasteCommand(); for (i = 0; i < 3; i++)
} extendSelectionForwardByCharacterCommand();
copyCommand();
</script> moveSelectionForwardByCharacterCommand();
pasteCommand();
<title>Editing Test</title> Markup.dump('root', 'You should see "foo barbar baz" below');
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test">foo bar baz</span>
</div>
<script>
runEditingTest();
</script> </script>
</body> </body>
</html> </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: 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: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
...@@ -12,36 +9,39 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio ...@@ -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: 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: 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 There was a bug when pasting at the end of the block.
layer at (0,0) size 800x600 The content was inserted at the start of the block instead of the end. This tests the insert-at-end case.
RenderBlock {HTML} at (0,0) size 800x600 | "
RenderBody {BODY} at (8,8) size 784x576 "
RenderBlock {P} at (0,0) size 784x21 | <p>
RenderInline {FONT} at (0,0) size 55x20 | <font>
RenderInline {B} at (0,0) size 55x20 | face="Monaco"
RenderText {#text} at (0,0) size 55x20 | <b>
text run at (0,0) width 55: "hello" | "hello"
RenderBlock {P} at (0,37) size 784x21 | "
RenderInline {FONT} at (0,0) size 55x20 "
RenderInline {B} at (0,0) size 55x20 | <p>
RenderText {#text} at (0,0) size 55x20 | <font>
text run at (0,0) width 55: "there" | face="Monaco"
RenderBlock {P} at (0,74) size 784x58 | <b>
RenderBlock (anonymous) at (0,0) size 784x0 | "there"
RenderInline {FONT} at (0,0) size 0x0 | <p>
RenderBlock (anonymous) at (0,0) size 784x58 | <font>
RenderBlock {P} at (0,0) size 784x21 | face="Monaco"
RenderInline {FONT} at (0,0) size 55x20 | <p>
RenderInline {B} at (0,0) size 55x20 | style="font-family: Times; "
RenderText {#text} at (0,0) size 55x20 | <font>
text run at (0,0) width 55: "hello" | face="Monaco"
RenderBlock {P} at (0,37) size 784x21 | <b>
RenderInline {FONT} at (0,0) size 55x20 | "hello"
RenderInline {B} at (0,0) size 55x20 | <p>
RenderText {#text} at (0,0) size 55x20 | style="font-family: Times; "
text run at (0,0) width 55: "there" | <font>
RenderBlock (anonymous) at (0,74) size 784x0 | face="Monaco"
RenderInline {FONT} at (0,0) size 0x0 | <b>
RenderInline {FONT} at (0,0) size 0x0 | "there<#selection-caret>"
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 | "
"
<!DOCTYPE html>
<html> <html>
<head> <head>
<script src="../editing.js"></script>
<style> <script src="../../resources/dump-as-markup.js"></script>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script> <script>
// There was a bug when pasting at the end of the block. The content was inserted at the Markup.waitUntilDone();
// start of the block instead of the end. This tests the insert-at-end case.
function editingTest() { 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(); selectAllCommand();
copyCommand(); copyCommand();
moveSelectionForwardByCharacterCommand(); moveSelectionForwardByCharacterCommand();
insertParagraphCommand(); insertParagraphCommand();
pasteCommand(); pasteCommand();
Markup.dump(document.body);
Markup.notifyDone();
} }
</script> </script>
<title>Editing Test</title>
</head> </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>hello</b></font></p>
<p><font face="Monaco"><b>there</b></font></p> <p><font face="Monaco"><b>there</b></font></p>
<script>
runEditingTest();
</script>
</body> </body>
</html> </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