Diff
Modified: trunk/LayoutTests/ChangeLog (144814 => 144815)
--- trunk/LayoutTests/ChangeLog 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/ChangeLog 2013-03-05 22:04:23 UTC (rev 144815)
@@ -1,3 +1,30 @@
+2013-03-04 Ryosuke Niwa <rn...@webkit.org>
+
+ editing/pasteboard/paste-table-003.html should be a dump-as-text test
+ https://bugs.webkit.org/show_bug.cgi?id=111400
+
+ Reviewed by Levi Weintraub.
+
+ Convert the test to a dump-as-text test. The output is much easier to understand now.
+ Also moved the test description out of the root element so that it won't be repeated
+ multiple times in the output.
+
+ * editing/pasteboard/paste-table-003-expected.txt: Added.
+ * editing/pasteboard/paste-table-003.html:
+ * platform/chromium-linux/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/chromium-mac-lion/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/chromium-mac-snowleopard/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/chromium-mac/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/chromium-win/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/chromium-win/editing/pasteboard/paste-table-003-expected.txt: Removed.
+ * platform/chromium/editing/pasteboard/paste-table-003-expected.txt: Removed.
+ * platform/gtk/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/gtk/editing/pasteboard/paste-table-003-expected.txt: Removed.
+ * platform/mac/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/mac/editing/pasteboard/paste-table-003-expected.txt: Removed.
+ * platform/qt/editing/pasteboard/paste-table-003-expected.png: Removed.
+ * platform/qt/editing/pasteboard/paste-table-003-expected.txt: Removed.
+
2013-03-05 Victor Carbune <vcarb...@chromium.org>
Cue line-height property shouldn't be inherited from the video element
Added: trunk/LayoutTests/editing/pasteboard/paste-table-003-expected.txt (0 => 144815)
--- trunk/LayoutTests/editing/pasteboard/paste-table-003-expected.txt (rev 0)
+++ trunk/LayoutTests/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:04:23 UTC (rev 144815)
@@ -0,0 +1,17 @@
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 5 of DIV > BODY > HTML > #document
+EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 2 of TD > TR > TBODY > TABLE > DIV > DIV > BODY > HTML > #document to 2 of TD > TR > TBODY > TABLE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
+EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
+This tests pasting a table to replace some text. It demonstrates two bugs: 1) selecting a table without also selecting the line break after programmatically is impossible when its followed by a div because of the way DOM positions are mapped to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of after the table, so the interchange newline is placed in the last table cell and not after the table.
+
+one two
+one two
+
+execCopyCommand: <table id="test"> <tbody><tr><td>one</td><td>two</td></tr></tbody></table> <div id="target">replaceme</div>
+execPasteCommand: <table id="test"> <tbody><tr><td>one</td><td>two</td></tr></tbody></table> <div id="target"><table id="test"><tbody><tr><td>one</td><td>two<br><br></td></tr></tbody></table></div>
Modified: trunk/LayoutTests/editing/pasteboard/paste-table-003.html (144814 => 144815)
--- trunk/LayoutTests/editing/pasteboard/paste-table-003.html 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/editing/pasteboard/paste-table-003.html 2013-03-05 22:04:23 UTC (rev 144815)
@@ -33,14 +33,15 @@
<title>Editing Test</title>
</head>
-<body id="root" contenteditable>
+<body>
<p>This tests pasting a table to replace some text. <b>It demonstrates two bugs: 1) selecting a table without also selecting the line break after programmatically is impossible when its followed by a div because of the way DOM positions are mapped to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of after the table, so the interchange newline is placed in the last table cell and not after the table.</b></p>
+<div id="root" contenteditable>
<table id="test">
<tbody><tr><td>one</td><td>two</td></tr></tbody></table>
<div id="target">replaceme</div>
-
+</div>
<script>
-runEditingTest();
+runDumpAsTextEditingTest(true);
</script>
</body>
Deleted: trunk/LayoutTests/platform/chromium/editing/pasteboard/paste-table-003-expected.txt (144814 => 144815)
--- trunk/LayoutTests/platform/chromium/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/platform/chromium/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:04:23 UTC (rev 144815)
@@ -1,50 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 9 of #text > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of 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 {P} at (0,0) size 784x72
- RenderText {#text} at (0,0) size 290x18
- text run at (0,0) width 290: "This tests pasting a table to replace some text. "
- RenderInline {B} at (0,0) size 768x72
- RenderText {#text} at (290,0) size 768x72
- text run at (290,0) width 474: "It demonstrates two bugs: 1) selecting a table without also selecting the"
- text run at (764,0) width 4: " "
- text run at (0,18) width 759: "line break after programmatically is impossible when its followed by a div because of the way DOM positions are"
- text run at (759,18) width 4: " "
- text run at (0,36) width 750: "mapped to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of"
- text run at (750,36) width 4: " "
- text run at (0,54) width 633: "after the table, so the interchange newline is placed in the last table cell and not after the table."
- RenderTable {TABLE} at (0,88) size 57x24
- RenderTableSection {TBODY} at (0,0) size 57x24
- RenderTableRow {TR} at (0,2) size 57x20
- RenderTableCell {TD} at (2,2) size 25x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x18
- text run at (1,1) width 23: "one"
- RenderTableCell {TD} at (29,2) size 26x20 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 24x18
- text run at (1,1) width 24: "two"
- RenderBlock {DIV} at (0,112) size 784x42
- RenderTable {TABLE} at (0,0) size 57x42
- RenderTableSection {TBODY} at (0,0) size 57x42
- RenderTableRow {TR} at (0,2) size 57x38
- RenderTableCell {TD} at (2,11) size 25x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x18
- text run at (1,1) width 23: "one"
- RenderTableCell {TD} at (29,2) size 26x38 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 24x18
- text run at (1,1) width 24: "two"
- RenderBR {BR} at (25,15) size 0x0
- RenderBR {BR} at (1,19) size 0x18
- RenderBlock (anonymous) at (0,42) size 784x0
-caret: position 0 of child 2 {BR} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 5 {DIV} of body
Deleted: trunk/LayoutTests/platform/chromium-linux/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac-lion/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac-snowleopard/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-table-003-expected.txt (144814 => 144815)
--- trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/platform/chromium-win/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:04:23 UTC (rev 144815)
@@ -1,50 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 9 of #text > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of 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 {P} at (0,0) size 784x80
- RenderText {#text} at (0,0) size 280x19
- text run at (0,0) width 280: "This tests pasting a table to replace some text. "
- RenderInline {B} at (0,0) size 784x79
- RenderText {#text} at (280,0) size 784x79
- text run at (280,0) width 500: "It demonstrates two bugs: 1) selecting a table without also selecting the line"
- text run at (780,0) width 4: " "
- text run at (0,20) width 776: "break after programmatically is impossible when its followed by a div because of the way DOM positions are mapped"
- text run at (776,20) width 4: " "
- text run at (0,40) width 751: "to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of after the"
- text run at (751,40) width 4: " "
- text run at (0,60) width 567: "table, so the interchange newline is placed in the last table cell and not after the table."
- RenderTable {TABLE} at (0,96) size 55x26
- RenderTableSection {TBODY} at (0,0) size 55x26
- RenderTableRow {TR} at (0,2) size 55x22
- RenderTableCell {TD} at (2,2) size 24x22 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 22x19
- text run at (1,1) width 22: "one"
- RenderTableCell {TD} at (28,2) size 25x22 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x19
- text run at (1,1) width 23: "two"
- RenderBlock {DIV} at (0,122) size 784x46
- RenderTable {TABLE} at (0,0) size 55x46
- RenderTableSection {TBODY} at (0,0) size 55x46
- RenderTableRow {TR} at (0,2) size 55x42
- RenderTableCell {TD} at (2,12) size 24x22 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 22x19
- text run at (1,1) width 22: "one"
- RenderTableCell {TD} at (28,2) size 25x42 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x19
- text run at (1,1) width 23: "two"
- RenderBR {BR} at (24,16) size 0x0
- RenderBR {BR} at (1,21) size 0x19
- RenderBlock (anonymous) at (0,46) size 784x0
-caret: position 0 of child 2 {BR} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 5 {DIV} of body
Deleted: trunk/LayoutTests/platform/gtk/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/gtk/editing/pasteboard/paste-table-003-expected.txt (144814 => 144815)
--- trunk/LayoutTests/platform/gtk/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/platform/gtk/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:04:23 UTC (rev 144815)
@@ -1,50 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 9 of #text > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of 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 {P} at (0,0) size 784x72
- RenderText {#text} at (0,0) size 290x19
- text run at (0,0) width 290: "This tests pasting a table to replace some text. "
- RenderInline {B} at (0,0) size 768x73
- RenderText {#text} at (290,0) size 768x73
- text run at (290,0) width 474: "It demonstrates two bugs: 1) selecting a table without also selecting the"
- text run at (764,0) width 4: " "
- text run at (0,18) width 759: "line break after programmatically is impossible when its followed by a div because of the way DOM positions are"
- text run at (759,18) width 4: " "
- text run at (0,36) width 750: "mapped to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of"
- text run at (750,36) width 4: " "
- text run at (0,54) width 633: "after the table, so the interchange newline is placed in the last table cell and not after the table."
- RenderTable {TABLE} at (0,88) size 57x24
- RenderTableSection {TBODY} at (0,0) size 57x24
- RenderTableRow {TR} at (0,2) size 57x20
- RenderTableCell {TD} at (2,2) size 25x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x19
- text run at (1,1) width 23: "one"
- RenderTableCell {TD} at (29,2) size 26x20 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 24x19
- text run at (1,1) width 24: "two"
- RenderBlock {DIV} at (0,112) size 784x42
- RenderTable {TABLE} at (0,0) size 57x42
- RenderTableSection {TBODY} at (0,0) size 57x42
- RenderTableRow {TR} at (0,2) size 57x38
- RenderTableCell {TD} at (2,11) size 25x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x19
- text run at (1,1) width 23: "one"
- RenderTableCell {TD} at (29,2) size 26x38 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 24x19
- text run at (1,1) width 24: "two"
- RenderBR {BR} at (25,16) size 0x0
- RenderBR {BR} at (1,19) size 0x19
- RenderBlock (anonymous) at (0,42) size 784x0
-caret: position 0 of child 2 {BR} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 5 {DIV} of body
Deleted: trunk/LayoutTests/platform/mac/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/editing/pasteboard/paste-table-003-expected.txt (144814 => 144815)
--- trunk/LayoutTests/platform/mac/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/platform/mac/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:04:23 UTC (rev 144815)
@@ -1,50 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 9 of #text > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of 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 {P} at (0,0) size 784x72
- RenderText {#text} at (0,0) size 290x18
- text run at (0,0) width 290: "This tests pasting a table to replace some text. "
- RenderInline {B} at (0,0) size 768x72
- RenderText {#text} at (290,0) size 768x72
- text run at (290,0) width 474: "It demonstrates two bugs: 1) selecting a table without also selecting the"
- text run at (764,0) width 4: " "
- text run at (0,18) width 759: "line break after programmatically is impossible when its followed by a div because of the way DOM positions are"
- text run at (759,18) width 4: " "
- text run at (0,36) width 750: "mapped to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of"
- text run at (750,36) width 4: " "
- text run at (0,54) width 633: "after the table, so the interchange newline is placed in the last table cell and not after the table."
- RenderTable {TABLE} at (0,88) size 57x24
- RenderTableSection {TBODY} at (0,0) size 57x24
- RenderTableRow {TR} at (0,2) size 57x20
- RenderTableCell {TD} at (2,2) size 25x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x18
- text run at (1,1) width 23: "one"
- RenderTableCell {TD} at (29,2) size 26x20 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 24x18
- text run at (1,1) width 24: "two"
- RenderBlock {DIV} at (0,112) size 784x42
- RenderTable {TABLE} at (0,0) size 57x42
- RenderTableSection {TBODY} at (0,0) size 57x42
- RenderTableRow {TR} at (0,2) size 57x38
- RenderTableCell {TD} at (2,11) size 25x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x18
- text run at (1,1) width 23: "one"
- RenderTableCell {TD} at (29,2) size 26x38 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 24x18
- text run at (1,1) width 24: "two"
- RenderBR {BR} at (25,15) size 0x0
- RenderBR {BR} at (1,19) size 0x18
- RenderBlock (anonymous) at (0,42) size 784x0
-caret: position 0 of child 2 {BR} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 5 {DIV} of body
Deleted: trunk/LayoutTests/platform/qt/editing/pasteboard/paste-table-003-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/qt/editing/pasteboard/paste-table-003-expected.txt (144814 => 144815)
--- trunk/LayoutTests/platform/qt/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:02:27 UTC (rev 144814)
+++ trunk/LayoutTests/platform/qt/editing/pasteboard/paste-table-003-expected.txt 2013-03-05 22:04:23 UTC (rev 144815)
@@ -1,50 +0,0 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of BODY > HTML > #document to 8 of BODY > HTML > #document
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > BODY > HTML > #document to 9 of #text > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 2 of TD > TR > TBODY > TABLE > DIV > BODY > HTML > #document to 2 of 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 {P} at (0,0) size 784x76
- RenderText {#text} at (0,0) size 280x19
- text run at (0,0) width 280: "This tests pasting a table to replace some text. "
- RenderInline {B} at (0,0) size 784x76
- RenderText {#text} at (280,0) size 784x76
- text run at (280,0) width 500: "It demonstrates two bugs: 1) selecting a table without also selecting the line"
- text run at (780,0) width 4: " "
- text run at (0,19) width 776: "break after programmatically is impossible when its followed by a div because of the way DOM positions are mapped"
- text run at (776,19) width 4: " "
- text run at (0,38) width 751: "to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of after the"
- text run at (751,38) width 4: " "
- text run at (0,57) width 567: "table, so the interchange newline is placed in the last table cell and not after the table."
- RenderTable {TABLE} at (0,92) size 55x25
- RenderTableSection {TBODY} at (0,0) size 55x25
- RenderTableRow {TR} at (0,2) size 55x21
- RenderTableCell {TD} at (2,2) size 24x21 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 22x19
- text run at (1,1) width 22: "one"
- RenderTableCell {TD} at (28,2) size 25x21 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x19
- text run at (1,1) width 23: "two"
- RenderBlock {DIV} at (0,117) size 784x44
- RenderTable {TABLE} at (0,0) size 55x44
- RenderTableSection {TBODY} at (0,0) size 55x44
- RenderTableRow {TR} at (0,2) size 55x40
- RenderTableCell {TD} at (2,11) size 24x21 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 22x19
- text run at (1,1) width 22: "one"
- RenderTableCell {TD} at (28,2) size 25x40 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 23x19
- text run at (1,1) width 23: "two"
- RenderBR {BR} at (24,16) size 0x0
- RenderBR {BR} at (1,20) size 0x19
- RenderBlock (anonymous) at (0,44) size 784x0
-caret: position 0 of child 2 {BR} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 5 {DIV} of body