Commit ec6bd130 authored by rniwa@webkit.org's avatar rniwa@webkit.org

2010-11-23 Ryosuke Niwa <rniwa@webkit.org>

        Reviewed by Tony Chang.

        dumpAsText conversion: editing/deleting/delete-by-word-001.html and delete-by-word-002.html
        https://bugs.webkit.org/show_bug.cgi?id=48130

        Converted editing/deleting/delete-by-word-001.html and delete-by-word-002.html to dumpAsText tests
        by replacing calls to runEditingTest by runDumpAsTextEditingTest.

        * editing/deleting/delete-by-word-001-expected.txt: Added.
        * editing/deleting/delete-by-word-001.html:
        * editing/deleting/delete-by-word-002-expected.txt: Added.
        * editing/deleting/delete-by-word-002.html:
        * platform/chromium-linux/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/chromium-linux/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/chromium-linux/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/chromium-linux/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-by-word-002-expected.txt: Removed.
        * platform/gtk/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/mac/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/mac/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/mac/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/mac/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/mac/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/mac/editing/deleting/delete-by-word-002-expected.txt: Removed.
        * platform/qt/editing/deleting/delete-by-word-001-expected.checksum: Removed.
        * platform/qt/editing/deleting/delete-by-word-001-expected.png: Removed.
        * platform/qt/editing/deleting/delete-by-word-001-expected.txt: Removed.
        * platform/qt/editing/deleting/delete-by-word-002-expected.checksum: Removed.
        * platform/qt/editing/deleting/delete-by-word-002-expected.png: Removed.
        * platform/qt/editing/deleting/delete-by-word-002-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0fff8913
2010-11-23 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Tony Chang.
dumpAsText conversion: editing/deleting/delete-by-word-001.html and delete-by-word-002.html
https://bugs.webkit.org/show_bug.cgi?id=48130
Converted editing/deleting/delete-by-word-001.html and delete-by-word-002.html to dumpAsText tests
by replacing calls to runEditingTest by runDumpAsTextEditingTest.
* editing/deleting/delete-by-word-001-expected.txt: Added.
* editing/deleting/delete-by-word-001.html:
* editing/deleting/delete-by-word-002-expected.txt: Added.
* editing/deleting/delete-by-word-002.html:
* platform/chromium-linux/editing/deleting/delete-by-word-001-expected.checksum: Removed.
* platform/chromium-linux/editing/deleting/delete-by-word-001-expected.png: Removed.
* platform/chromium-linux/editing/deleting/delete-by-word-002-expected.checksum: Removed.
* platform/chromium-linux/editing/deleting/delete-by-word-002-expected.png: Removed.
* platform/chromium-win/editing/deleting/delete-by-word-001-expected.checksum: Removed.
* platform/chromium-win/editing/deleting/delete-by-word-001-expected.png: Removed.
* platform/chromium-win/editing/deleting/delete-by-word-001-expected.txt: Removed.
* platform/chromium-win/editing/deleting/delete-by-word-002-expected.checksum: Removed.
* platform/chromium-win/editing/deleting/delete-by-word-002-expected.png: Removed.
* platform/chromium-win/editing/deleting/delete-by-word-002-expected.txt: Removed.
* platform/gtk/editing/deleting/delete-by-word-001-expected.txt: Removed.
* platform/mac/editing/deleting/delete-by-word-001-expected.checksum: Removed.
* platform/mac/editing/deleting/delete-by-word-001-expected.png: Removed.
* platform/mac/editing/deleting/delete-by-word-001-expected.txt: Removed.
* platform/mac/editing/deleting/delete-by-word-002-expected.checksum: Removed.
* platform/mac/editing/deleting/delete-by-word-002-expected.png: Removed.
* platform/mac/editing/deleting/delete-by-word-002-expected.txt: Removed.
* platform/qt/editing/deleting/delete-by-word-001-expected.checksum: Removed.
* platform/qt/editing/deleting/delete-by-word-001-expected.png: Removed.
* platform/qt/editing/deleting/delete-by-word-001-expected.txt: Removed.
* platform/qt/editing/deleting/delete-by-word-002-expected.checksum: Removed.
* platform/qt/editing/deleting/delete-by-word-002-expected.png: Removed.
* platform/qt/editing/deleting/delete-by-word-002-expected.txt: Removed.
2010-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r72628.
......@@ -28,29 +28,17 @@ EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x199 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x62
RenderText {#text} at (0,0) size 67x32
text run at (0,0) width 67: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,31) size 480x32
text run at (0,31) width 480: "Option-delete when a typing command is open."
RenderBlock {DIV} at (14,92) size 756x93
RenderText {#text} at (0,0) size 189x32
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,24) size 0x0
RenderText {#text} at (0,31) size 470x32
text run at (0,31) width 470: "Net result is a third \"cha\". It should like this: "
RenderBR {BR} at (470,55) size 0x0
RenderText {#text} at (0,62) size 441x32
text run at (0,62) width 441: "one two cha cha cha three four cha cha cha"
RenderBlock {DIV} at (0,223) size 784x35
RenderBlock {DIV} at (0,0) size 784x35 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 441x32
text run at (2,2) width 441: "one two cha cha cha three four cha cha cha"
caret: position 12 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
Tests:
Option-delete when a typing command is open.
Expected Results:
Net result is a third "cha". It should like this:
one two cha cha cha three four cha cha cha
one two cha cha cha three four cha cha cha
execTypeCharacterCommand: <div id="test" class="editing"> one two &nbsp;cha cha three four cha cha cha </div>
execTypeCharacterCommand: <div id="test" class="editing"> one two a cha cha three four cha cha cha </div>
execTypeCharacterCommand: <div id="test" class="editing"> one two ab cha cha three four cha cha cha </div>
execTypeCharacterCommand: <div id="test" class="editing"> one two abc cha cha three four cha cha cha </div>
DeleteWord: <div id="test" class="editing"> one two &nbsp;cha cha three four cha cha cha </div>
execTypeCharacterCommand: <div id="test" class="editing"> one two c cha cha three four cha cha cha </div>
execTypeCharacterCommand: <div id="test" class="editing"> one two ch cha cha three four cha cha cha </div>
execTypeCharacterCommand: <div id="test" class="editing"> one two cha cha cha three four cha cha cha </div>
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/dump-as-markup.js"></script>
<style>
.editing {
border: 2px solid red;
......@@ -17,7 +18,28 @@
.expected-results:first-line { font-weight: bold }
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<title>Editing Test</title>
</head>
<body>
<div class="explanation">
<div class="scenario">
Tests:
<br>
Option-delete when a typing command is open.
</div>
<div class="expected-results">
Expected Results:
<br>
Net result is a third "cha". It should like this:
<BR>
one two cha cha cha three four cha cha cha
</div>
</div>
<div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">
one two cha cha three four cha cha cha
</div>
</div>
<script>
function sendDeleteWordKey()
......@@ -29,6 +51,7 @@ function sendDeleteWordKey()
deleteWordModifiers = ["ctrlKey"];
if (window.eventSender)
eventSender.keyDown(String.fromCharCode(8), deleteWordModifiers);
debugForDumpAsText("DeleteWord");
}
function editingTest()
......@@ -45,36 +68,7 @@ function editingTest()
typeCharacterCommand('a');
}
runDumpAsTextEditingTest(true);
</script>
<title>Editing Test</title>
</head>
<body>
<div class="explanation">
<div class="scenario">
Tests:
<br>
Option-delete when a typing command is open.
</div>
<div class="expected-results">
Expected Results:
<br>
Net result is a third "cha". It should like this:
<BR>
one two cha cha cha three four cha cha cha
</div>
</div>
<div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">
one two cha cha three four cha cha cha
</div>
</div>
<script>
runEditingTest();
</script>
</body>
</html>
......@@ -10,30 +10,11 @@ EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x199 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x62
RenderText {#text} at (0,0) size 67x32
text run at (0,0) width 67: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,31) size 607x32
text run at (0,31) width 607: "Option-delete when no typing command is open, then undo."
RenderBlock {DIV} at (14,92) size 756x93
RenderText {#text} at (0,0) size 189x32
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,24) size 0x0
RenderText {#text} at (0,31) size 501x32
text run at (0,31) width 501: "It should like this, with the word \"two\" selected: "
RenderBR {BR} at (501,55) size 0x0
RenderText {#text} at (0,62) size 189x32
text run at (0,62) width 189: "one two three four"
RenderBlock {DIV} at (0,223) size 784x35
RenderBlock {DIV} at (0,0) size 784x35 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 189x32
text run at (2,2) width 189: "one two three four"
selection start: position 4 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
selection end: position 7 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
Tests:
Option-delete when no typing command is open, then undo.
Expected Results:
It should like this, with the word "two" selected:
one two three four
one two three four
DeleteWord: <div id="test" class="editing">one &nbsp;three four</div>
execUndoCommand: <div id="test" class="editing">one two three four</div>
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/dump-as-markup.js"></script>
<style>
.editing {
border: 2px solid red;
......@@ -17,34 +18,9 @@
.expected-results:first-line { font-weight: bold }
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function sendDeleteWordKey()
{
var deleteWordModifiers;
if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
deleteWordModifiers = ["altKey"];
else
deleteWordModifiers = ["ctrlKey"];
if (window.eventSender)
eventSender.keyDown(String.fromCharCode(8), deleteWordModifiers);
}
function editingTest()
{
moveSelectionForwardByWordCommand();
moveSelectionForwardByWordCommand();
sendDeleteWordKey();
undoCommand();
}
</script>
<title>Editing Test</title>
</head>
<body>
<div class="explanation">
<div class="scenario">
Tests:
......@@ -59,14 +35,31 @@ It should like this, with the word "two" selected:
one two three four
</div>
</div>
<div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
<div id="test" class="editing">one two three four</div>
</div>
<script>
runEditingTest();
</script>
function sendDeleteWordKey()
{
var deleteWordModifiers;
if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
deleteWordModifiers = ["altKey"];
else
deleteWordModifiers = ["ctrlKey"];
if (window.eventSender)
eventSender.keyDown(String.fromCharCode(8), deleteWordModifiers);
debugForDumpAsText("DeleteWord");
}
function editingTest()
{
moveSelectionForwardByWordCommand();
moveSelectionForwardByWordCommand();
sendDeleteWordKey();
undoCommand();
}
runDumpAsTextEditingTest(true);
</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: shouldChangeSelectedDOMRange:range from 8 of #text > DIV > DIV > BODY > HTML > #document to 8 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldDeleteDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x182 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x55
RenderText {#text} at (0,0) size 66x26
text run at (0,0) width 66: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,27) size 453x27
text run at (0,27) width 453: "Option-delete when a typing command is open."
RenderBlock {DIV} at (14,85) size 756x83
RenderText {#text} at (0,0) size 189x26
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,21) size 0x0
RenderText {#text} at (0,27) size 432x27
text run at (0,27) width 432: "Net result is a third \"cha\". It should like this: "
RenderBR {BR} at (432,48) size 0x0
RenderText {#text} at (0,55) size 418x27
text run at (0,55) width 418: "one two cha cha cha three four cha cha cha"
RenderBlock {DIV} at (0,206) size 784x32
RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 418x27
text run at (2,2) width 418: "one two cha cha cha three four cha cha cha"
caret: position 12 of child 0 {#text} of child 1 {DIV} of child 3 {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: shouldDeleteDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x182 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x55
RenderText {#text} at (0,0) size 66x26
text run at (0,0) width 66: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,27) size 574x27
text run at (0,27) width 574: "Option-delete when no typing command is open, then undo."
RenderBlock {DIV} at (14,85) size 756x83
RenderText {#text} at (0,0) size 189x26
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,21) size 0x0
RenderText {#text} at (0,27) size 468x27
text run at (0,27) width 468: "It should like this, with the word \"two\" selected: "
RenderBR {BR} at (468,48) size 0x0
RenderText {#text} at (0,55) size 178x27
text run at (0,55) width 178: "one two three four"
RenderBlock {DIV} at (0,206) size 784x32
RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 178x27
text run at (2,2) width 178: "one two three four"
selection start: position 4 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
selection end: position 7 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
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 784x184 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x56
RenderText {#text} at (0,0) size 67x28
text run at (0,0) width 67: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,28) size 460x28
text run at (0,28) width 460: "Option-delete when a typing command is open."
RenderBlock {DIV} at (14,86) size 756x84
RenderText {#text} at (0,0) size 189x28
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,22) size 0x0
RenderText {#text} at (0,28) size 440x28
text run at (0,28) width 440: "Net result is a third \"cha\". It should like this: "
RenderBR {BR} at (440,50) size 0x0
RenderText {#text} at (0,56) size 418x28
text run at (0,56) width 418: "one two cha cha cha three four cha cha cha"
RenderBlock {DIV} at (0,208) size 784x32
RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 418x28
text run at (2,2) width 418: "one two cha cha cha three four cha cha cha"
caret: position 12 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
8d462380f46a17a0ddbe37a16eafe3e9
\ 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: shouldChangeSelectedDOMRange:range from 8 of #text > DIV > DIV > BODY > HTML > #document to 8 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldDeleteDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 9 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 10 of #text > DIV > DIV > BODY > HTML > #document to 10 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 12 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x184 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x56
RenderText {#text} at (0,0) size 67x28
text run at (0,0) width 67: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,28) size 460x28
text run at (0,28) width 460: "Option-delete when a typing command is open."
RenderBlock {DIV} at (14,86) size 756x84
RenderText {#text} at (0,0) size 189x28
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,22) size 0x0
RenderText {#text} at (0,28) size 440x28
text run at (0,28) width 440: "Net result is a third \"cha\". It should like this: "
RenderBR {BR} at (440,50) size 0x0
RenderText {#text} at (0,56) size 418x28
text run at (0,56) width 418: "one two cha cha cha three four cha cha cha"
RenderBlock {DIV} at (0,208) size 784x32
RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 418x28
text run at (2,2) width 418: "one two cha cha cha three four cha cha cha"
caret: position 12 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
a3d4b8fcdd07df1087a25804eb9d2ef0
\ 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: shouldDeleteDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x184 [border: (2px solid #0000FF)]
RenderBlock {DIV} at (14,14) size 756x56
RenderText {#text} at (0,0) size 67x28
text run at (0,0) width 67: "Tests: "
RenderBR {BR} at (0,0) size 0x0
RenderText {#text} at (0,28) size 581x28
text run at (0,28) width 581: "Option-delete when no typing command is open, then undo."
RenderBlock {DIV} at (14,86) size 756x84
RenderText {#text} at (0,0) size 189x28
text run at (0,0) width 189: "Expected Results: "
RenderBR {BR} at (189,22) size 0x0
RenderText {#text} at (0,28) size 475x28
text run at (0,28) width 475: "It should like this, with the word \"two\" selected: "
RenderBR {BR} at (475,50) size 0x0
RenderText {#text} at (0,56) size 178x28
text run at (0,56) width 178: "one two three four"
RenderBlock {DIV} at (0,208) size 784x32
RenderBlock {DIV} at (0,0) size 784x32 [border: (2px solid #FF0000)]
RenderText {#text} at (2,2) size 178x28
text run at (2,2) width 178: "one two three four"
selection start: position 4 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
selection end: position 7 of child 0 {#text} of child 1 {DIV} of child 3 {DIV} of body
985ccee3259d0af8e7adfebbb874375e
\ No newline at end of file
e381451e8bdd66282cbd6095fddf447d
\ No newline at end of file
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