2011-05-24 Annie Sullivan <sullivan@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 May 2011 03:39:22 +0000 (03:39 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 May 2011 03:39:22 +0000 (03:39 +0000)
        Reviewed by Ryosuke Niwa.

        Convert LayoutTests/editing/deleting/delete-block-table.html to dumpAsText test.
        https://bugs.webkit.org/show_bug.cgi?id=61333

        Converts delete-block-table.html to dumpAsText test by changing to use runDumpAsTextEditingTest.

        * editing/deleting/delete-block-table-expected.txt: Added.
        * editing/deleting/delete-block-table.html: Converted to dump-as-markup.
        * platform/chromium-linux/editing/deleting/delete-block-table-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-block-table-expected.png: Removed.
        * platform/chromium-win/editing/deleting/delete-block-table-expected.txt: Removed.
        * platform/gtk/editing/deleting/delete-block-table-expected.png: Removed.
        * platform/gtk/editing/deleting/delete-block-table-expected.txt: Removed.
        * platform/mac-leopard/editing/deleting/delete-block-table-expected.png: Removed.
        * platform/mac/editing/deleting/delete-block-table-expected.png: Removed.
        * platform/mac/editing/deleting/delete-block-table-expected.txt: Removed.
        * platform/qt/editing/deleting/delete-block-table-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87261 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/deleting/delete-block-table-expected.txt [new file with mode: 0644]
LayoutTests/editing/deleting/delete-block-table.html
LayoutTests/platform/chromium-linux/editing/deleting/delete-block-table-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.png [deleted file]
LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.txt [deleted file]
LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.png [deleted file]
LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.txt [deleted file]
LayoutTests/platform/mac-leopard/editing/deleting/delete-block-table-expected.png [deleted file]
LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.png [deleted file]
LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.txt [deleted file]
LayoutTests/platform/qt/editing/deleting/delete-block-table-expected.txt [deleted file]

index f5f8143..85b01b8 100644 (file)
@@ -1,3 +1,24 @@
+2011-05-24  Annie Sullivan  <sullivan@chromium.org>
+
+        Reviewed by Ryosuke Niwa.
+
+        Convert LayoutTests/editing/deleting/delete-block-table.html to dumpAsText test.
+        https://bugs.webkit.org/show_bug.cgi?id=61333
+
+        Converts delete-block-table.html to dumpAsText test by changing to use runDumpAsTextEditingTest.
+
+        * editing/deleting/delete-block-table-expected.txt: Added.
+        * editing/deleting/delete-block-table.html: Converted to dump-as-markup.
+        * platform/chromium-linux/editing/deleting/delete-block-table-expected.png: Removed.
+        * platform/chromium-win/editing/deleting/delete-block-table-expected.png: Removed.
+        * platform/chromium-win/editing/deleting/delete-block-table-expected.txt: Removed.
+        * platform/gtk/editing/deleting/delete-block-table-expected.png: Removed.
+        * platform/gtk/editing/deleting/delete-block-table-expected.txt: Removed.
+        * platform/mac-leopard/editing/deleting/delete-block-table-expected.png: Removed.
+        * platform/mac/editing/deleting/delete-block-table-expected.png: Removed.
+        * platform/mac/editing/deleting/delete-block-table-expected.txt: Removed.
+        * platform/qt/editing/deleting/delete-block-table-expected.txt: Removed.
+
 2011-05-24  Justin Novosad  <junov@chromium.org>
 
         Reviewed by Stephen White.
diff --git a/LayoutTests/editing/deleting/delete-block-table-expected.txt b/LayoutTests/editing/deleting/delete-block-table-expected.txt
new file mode 100644 (file)
index 0000000..b42b533
--- /dev/null
@@ -0,0 +1,8 @@
+This test checks that deleting into a table works properly. When deleting three times with the cursor after the character "a" in the "after" text after the table, the "a" should be deleted, as should the "o" of "buffalo" in the last table cell.
+
+Before
+Foo     baz
+bar             buffalfter
+execDeleteCommand: <div>Before</div> <table style="border:3px solid #aaa;"> <tbody><tr> <td> Foo </td> <td> baz </td> </tr> <tr> <td> bar </td> <td> buffalo </td> </tr> </tbody></table> <span id="start">fter</span>
+execDeleteCommand: <div>Before</div> <table style="border:3px solid #aaa;"> <tbody><tr> <td> Foo </td> <td> baz </td> </tr> <tr> <td> bar </td> <td> buffalo<span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">fter</span></td></tr></tbody></table>
+execDeleteCommand: <div>Before</div> <table style="border:3px solid #aaa;"> <tbody><tr> <td> Foo </td> <td> baz </td> </tr> <tr> <td> bar </td> <td> buffal<span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; ">fter</span></td></tr></tbody></table>
index 719359a..b83b6d3 100644 (file)
@@ -1,16 +1,8 @@
-<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
-<script>
-function editingTest() {
-    var selection = window.getSelection();
-    var s = document.getElementById("start");
-    selection.setPosition(s, 0);
-    execMoveSelectionForwardByCharacterCommand();
-    for (i = 0; i < 3; i++) {
-        deleteCommand();
-    }
-}
-</script>
-<div contenteditable="true" id="test">
+<!DOCTYPE html>
+<html>
+<body>
+<p>This test checks that deleting into a table works properly. When deleting three times with the cursor after the character "a" in the "after" text after the table, the "a" should be deleted, as should the "o" of "buffalo" in the last table cell.</p>
+<div contenteditable="true" id="root">
 <div>Before</div>
   <table style="border:3px solid #aaa;">
     <tr>
@@ -32,6 +24,18 @@ function editingTest() {
   </table>
 <span id="start">after</span>
 </div>
+<script src=../editing.js></script>
 <script>
-runEditingTest();
-</script>
\ No newline at end of file
+function editingTest() {
+    var selection = window.getSelection();
+    var s = document.getElementById("start");
+    selection.setPosition(s, 0);
+    execMoveSelectionForwardByCharacterCommand();
+    for (i = 0; i < 3; i++) {
+        deleteCommand();
+    }
+}
+runDumpAsTextEditingTest();
+</script>
+</body>
+</html>
diff --git a/LayoutTests/platform/chromium-linux/editing/deleting/delete-block-table-expected.png b/LayoutTests/platform/chromium-linux/editing/deleting/delete-block-table-expected.png
deleted file mode 100644 (file)
index 8f8ad04..0000000
Binary files a/LayoutTests/platform/chromium-linux/editing/deleting/delete-block-table-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.png b/LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.png
deleted file mode 100644 (file)
index 95c94f3..0000000
Binary files a/LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.txt b/LayoutTests/platform/chromium-win/editing/deleting/delete-block-table-expected.txt
deleted file mode 100644 (file)
index d2eed6c..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 7 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 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 23 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 15 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-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 784x76
-        RenderBlock {DIV} at (0,0) size 784x20
-          RenderText {#text} at (0,0) size 41x19
-            text run at (0,0) width 41: "Before"
-        RenderTable {TABLE} at (0,20) size 94x56 [border: (3px solid #AAAAAA)]
-          RenderTableSection {TBODY} at (3,3) size 88x50
-            RenderTableRow {TR} at (0,2) size 88x22
-              RenderTableCell {TD} at (2,2) size 27x22 [r=0 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x19
-                  text run at (1,1) width 25: "Foo"
-              RenderTableCell {TD} at (31,2) size 55x22 [r=0 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 21x19
-                  text run at (1,1) width 21: "baz"
-            RenderTableRow {TR} at (0,26) size 88x22
-              RenderTableCell {TD} at (2,26) size 27x22 [r=1 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x19
-                  text run at (1,1) width 20: "bar"
-                  text run at (21,1) width 5: "      "
-              RenderTableCell {TD} at (31,26) size 55x22 [r=1 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 33x19
-                  text run at (1,1) width 33: "buffal"
-                RenderInline {SPAN} at (0,0) size 20x19
-                  RenderText {#text} at (34,1) size 20x19
-                    text run at (34,1) width 20: "fter"
-        RenderBlock (anonymous) at (0,76) size 784x0
-caret: position 15 of child 0 {#text} of child 3 {TD} of child 2 {TR} of child 1 {TBODY} of child 3 {TABLE} of child 0 {DIV} of body
diff --git a/LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.png b/LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.png
deleted file mode 100644 (file)
index 445bbf2..0000000
Binary files a/LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.txt b/LayoutTests/platform/gtk/editing/deleting/delete-block-table-expected.txt
deleted file mode 100644 (file)
index 4acdfe4..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 7 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 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 23 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 15 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-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 784x73
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 43x19
-            text run at (0,0) width 43: "Before"
-        RenderTable {TABLE} at (0,19) size 99x54 [border: (3px solid #AAAAAA)]
-          RenderTableSection {TBODY} at (3,3) size 93x48
-            RenderTableRow {TR} at (0,2) size 93x21
-              RenderTableCell {TD} at (2,2) size 27x21 [r=0 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x19
-                  text run at (1,1) width 25: "Foo"
-              RenderTableCell {TD} at (31,2) size 60x21 [r=0 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 22x19
-                  text run at (1,1) width 22: "baz"
-            RenderTableRow {TR} at (0,25) size 93x21
-              RenderTableCell {TD} at (2,25) size 27x21 [r=1 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x19
-                  text run at (1,1) width 20: "bar"
-                  text run at (21,1) width 5: "      "
-              RenderTableCell {TD} at (31,25) size 60x21 [r=1 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 37x19
-                  text run at (1,1) width 37: "buffal"
-                RenderInline {SPAN} at (0,0) size 21x19
-                  RenderText {#text} at (38,1) size 21x19
-                    text run at (38,1) width 21: "fter"
-        RenderBlock (anonymous) at (0,73) size 784x0
-caret: position 15 of child 0 {#text} of child 3 {TD} of child 2 {TR} of child 1 {TBODY} of child 3 {TABLE} of child 0 {DIV} of body
diff --git a/LayoutTests/platform/mac-leopard/editing/deleting/delete-block-table-expected.png b/LayoutTests/platform/mac-leopard/editing/deleting/delete-block-table-expected.png
deleted file mode 100644 (file)
index 738ae81..0000000
Binary files a/LayoutTests/platform/mac-leopard/editing/deleting/delete-block-table-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.png b/LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.png
deleted file mode 100644 (file)
index c4fff16..0000000
Binary files a/LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.txt b/LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.txt
deleted file mode 100644 (file)
index be4ff12..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 7 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 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 23 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 15 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-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 784x70
-        RenderBlock {DIV} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 43x18
-            text run at (0,0) width 43: "Before"
-        RenderTable {TABLE} at (0,18) size 99x52 [border: (3px solid #AAAAAA)]
-          RenderTableSection {TBODY} at (3,3) size 93x46
-            RenderTableRow {TR} at (0,2) size 93x20
-              RenderTableCell {TD} at (2,2) size 27x20 [r=0 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x18
-                  text run at (1,1) width 25: "Foo"
-              RenderTableCell {TD} at (31,2) size 60x20 [r=0 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 22x18
-                  text run at (1,1) width 22: "baz"
-            RenderTableRow {TR} at (0,24) size 93x20
-              RenderTableCell {TD} at (2,24) size 27x20 [r=1 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x18
-                  text run at (1,1) width 20: "bar"
-                  text run at (21,1) width 5: "      "
-              RenderTableCell {TD} at (31,24) size 60x20 [r=1 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 37x18
-                  text run at (1,1) width 37: "buffal"
-                RenderInline {SPAN} at (0,0) size 21x18
-                  RenderText {#text} at (38,1) size 21x18
-                    text run at (38,1) width 21: "fter"
-        RenderBlock (anonymous) at (0,70) size 784x0
-caret: position 15 of child 0 {#text} of child 3 {TD} of child 2 {TR} of child 1 {TBODY} of child 3 {TABLE} of child 0 {DIV} of body
diff --git a/LayoutTests/platform/qt/editing/deleting/delete-block-table-expected.txt b/LayoutTests/platform/qt/editing/deleting/delete-block-table-expected.txt
deleted file mode 100644 (file)
index ebe5ddb..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 7 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 0 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document
-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 0 of SPAN > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 23 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 0 of SPAN > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 15 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 16 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 14 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 14 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document toDOMRange:range from 15 of #text > TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 15 of #text > TD > TR > TBODY > TABLE > 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 784x73
-        RenderBlock {DIV} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 42x19
-            text run at (0,0) width 42: "Before"
-        RenderTable {TABLE} at (0,19) size 97x54 [border: (3px solid #AAAAAA)]
-          RenderTableSection {TBODY} at (3,3) size 91x48
-            RenderTableRow {TR} at (0,2) size 91x21
-              RenderTableCell {TD} at (2,2) size 27x21 [r=0 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x19
-                  text run at (1,1) width 25: "Foo"
-              RenderTableCell {TD} at (31,2) size 58x21 [r=0 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 23x19
-                  text run at (1,1) width 23: "baz"
-            RenderTableRow {TR} at (0,25) size 91x21
-              RenderTableCell {TD} at (2,25) size 27x21 [r=1 c=0 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 25x19
-                  text run at (1,1) width 25: "bar "
-                  text run at (26,1) width 0: "     "
-              RenderTableCell {TD} at (31,25) size 58x21 [r=1 c=1 rs=1 cs=1]
-                RenderText {#text} at (1,1) size 35x19
-                  text run at (1,1) width 35: "buffal"
-                RenderInline {SPAN} at (0,0) size 21x19
-                  RenderText {#text} at (36,1) size 21x19
-                    text run at (36,1) width 21: "fter"
-        RenderBlock (anonymous) at (0,73) size 784x0
-caret: position 15 of child 0 {#text} of child 3 {TD} of child 2 {TR} of child 1 {TBODY} of child 3 {TABLE} of child 0 {DIV} of body