Diff
Modified: trunk/LayoutTests/ChangeLog (87131 => 87132)
--- trunk/LayoutTests/ChangeLog 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/ChangeLog 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,3 +1,35 @@
+2011-05-24 Annie Sullivan <[email protected]>
+
+ Reviewed by Ryosuke Niwa.
+
+ editing/deleting/5026848-2 and editing/deleting/5026848-3 should be dump-as-markup tests
+ https://bugs.webkit.org/show_bug.cgi?id=61323
+
+ Convert editing/deleting/5026848-2 and editing/deleting/5026848-3 to dump-as-markup.
+
+ * editing/deleting/5026848-2-expected.txt: Added.
+ * editing/deleting/5026848-2.html: Convert to dump-as-markup.
+ * editing/deleting/5026848-3-expected.txt: Added.
+ * editing/deleting/5026848-3.html: Convert to dump-as-markup.
+ * platform/chromium-linux/editing/deleting/5026848-2-expected.png: Removed.
+ * platform/chromium-linux/editing/deleting/5026848-3-expected.png: Removed.
+ * platform/chromium-win/editing/deleting/5026848-2-expected.png: Removed.
+ * platform/chromium-win/editing/deleting/5026848-2-expected.txt: Removed.
+ * platform/chromium-win/editing/deleting/5026848-3-expected.png: Removed.
+ * platform/chromium-win/editing/deleting/5026848-3-expected.txt: Removed.
+ * platform/gtk/editing/deleting/5026848-2-expected.txt: Removed.
+ * platform/gtk/editing/deleting/5026848-3-expected.txt: Removed.
+ * platform/mac-leopard/editing/deleting/5026848-2-expected.png: Removed.
+ * platform/mac-leopard/editing/deleting/5026848-3-expected.png: Removed.
+ * platform/mac/editing/deleting/5026848-2-expected.png: Removed.
+ * platform/mac/editing/deleting/5026848-2-expected.txt: Removed.
+ * platform/mac/editing/deleting/5026848-3-expected.png: Removed.
+ * platform/mac/editing/deleting/5026848-3-expected.txt: Removed.
+ * platform/qt/editing/deleting/5026848-2-expected.png: Removed.
+ * platform/qt/editing/deleting/5026848-2-expected.txt: Removed.
+ * platform/qt/editing/deleting/5026848-3-expected.png: Removed.
+ * platform/qt/editing/deleting/5026848-3-expected.txt: Removed.
+
2011-05-23 Gabor Loki <[email protected]>
Rubber-stamped by Csaba Osztrogonác.
Added: trunk/LayoutTests/editing/deleting/5026848-2-expected.txt (0 => 87132)
--- trunk/LayoutTests/editing/deleting/5026848-2-expected.txt (rev 0)
+++ trunk/LayoutTests/editing/deleting/5026848-2-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -0,0 +1,30 @@
+This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a deletion. You should see two 'Non-editable' pieces on either side of the editable piece below.
+| "
+"
+| <table>
+| contenteditable="false"
+| "
+ "
+| <tbody>
+| <tr>
+| "
+ "
+| <td>
+| "Non-editable"
+| "
+ "
+| <td>
+| contenteditable="true"
+| "Editable <#selection-caret>"
+| <span>
+| class="Apple-style-span"
+| style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "
+| "content"
+| "
+ "
+| <td>
+| "Non-editable"
+| "
+ "
+| "
+"
Modified: trunk/LayoutTests/editing/deleting/5026848-2.html (87131 => 87132)
--- trunk/LayoutTests/editing/deleting/5026848-2.html 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/editing/deleting/5026848-2.html 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,6 +1,7 @@
+<!DOCTYPE html>
<html>
<body>
-<p>This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a deletion. You should see two 'Non-editable' pieces on either side of the editable piece below.</p>
+<p id="description">This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a deletion. You should see two 'Non-editable' pieces on either side of the editable piece below.</p>
<div id="div" contenteditable="true">
<table contenteditable="false">
<tr>
@@ -12,12 +13,15 @@
Editable <span id="end">content</span>
</div>
+<script src=""
<script>
var sel = window.getSelection();
var start = document.getElementById("start");
var end = document.getElementById("end");
sel.setBaseAndExtent(start, 0, end, 0);
document.execCommand("Delete");
+Markup.description(description.textContent);
+Markup.dump("div");
</script>
</body>
Added: trunk/LayoutTests/editing/deleting/5026848-3-expected.txt (0 => 87132)
--- trunk/LayoutTests/editing/deleting/5026848-3-expected.txt (rev 0)
+++ trunk/LayoutTests/editing/deleting/5026848-3-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -0,0 +1,38 @@
+This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. You should see one non-editable piece and an editable one and then two empty table cells. The table cells are editable but are preserved and not removed because they are in a non-editable region. They should be completely cleared out, even the second one that contains a non-editable piece.
+| "
+"
+| <table>
+| border="1"
+| contenteditable="false"
+| "
+ "
+| <tbody>
+| <tr>
+| "
+ "
+| <td>
+| "Non-editable"
+| "
+ "
+| <td>
+| contenteditable="true"
+| "Editable <#selection-caret>"
+| <span>
+| class="Apple-style-span"
+| style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "
+| "content"
+| "
+ "
+| <!-- The following cell should be removed, even though it contains non-editable pieces. -->
+| "
+ "
+| <td>
+| contenteditable="true"
+| "
+ "
+| <td>
+| contenteditable="true"
+| "
+ "
+| "
+"
Modified: trunk/LayoutTests/editing/deleting/5026848-3.html (87131 => 87132)
--- trunk/LayoutTests/editing/deleting/5026848-3.html 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/editing/deleting/5026848-3.html 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,6 +1,7 @@
+<!DOCTYPE html>
<html>
<body>
-<p>This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. You should see one non-editable piece and an editable one and then two empty table cells. The table cells are editable but are preserved and not removed because they are in a non-editable region. They should be completely cleared out, even the second one that contains a non-editable piece.</p>
+<p id="description">This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. You should see one non-editable piece and an editable one and then two empty table cells. The table cells are editable but are preserved and not removed because they are in a non-editable region. They should be completely cleared out, even the second one that contains a non-editable piece.</p>
<div id="div" contenteditable="true">
<table border="1" contenteditable="false">
<tr>
@@ -14,12 +15,15 @@
Editable <span id="end">content</span>
</div>
+<script src=""
<script>
var sel = window.getSelection();
var start = document.getElementById("start");
var end = document.getElementById("end");
sel.setBaseAndExtent(start, 0, end, 0);
document.execCommand("Delete");
+Markup.description(description.textContent);
+Markup.dump("div");
</script>
</body>
Deleted: trunk/LayoutTests/platform/chromium-linux/editing/deleting/5026848-2-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-linux/editing/deleting/5026848-3-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-2-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-2-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-2-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-2-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,28 +0,0 @@
-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 784x40
- RenderText {#text} at (0,0) size 734x39
- text run at (0,0) width 734: "This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a"
- text run at (0,20) width 55: "deletion. "
- text run at (55,20) width 506: "You should see two 'Non-editable' pieces on either side of the editable piece below."
- RenderBlock {DIV} at (0,56) size 784x26
- RenderTable {TABLE} at (0,0) size 271x26
- RenderTableSection {TBODY} at (0,0) size 271x26
- RenderTableRow {TR} at (0,2) size 271x22
- RenderTableCell {TD} at (2,2) size 82x22 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 80x19
- text run at (1,1) width 80: "Non-editable"
- RenderTableCell {TD} at (86,2) size 99x22 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 53x19
- text run at (1,1) width 53: "Editable "
- RenderInline {SPAN} at (0,0) size 44x19
- RenderText {#text} at (54,1) size 44x19
- text run at (54,1) width 44: "content"
- RenderTableCell {TD} at (187,2) size 82x22 [r=0 c=2 rs=1 cs=1]
- RenderText {#text} at (1,1) size 80x19
- text run at (1,1) width 80: "Non-editable"
- RenderBlock (anonymous) at (0,26) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-3-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-3-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-3-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/chromium-win/editing/deleting/5026848-3-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,31 +0,0 @@
-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 771x79
- text run at (0,0) width 652: "This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. "
- text run at (652,0) width 119: "You should see one"
- text run at (0,20) width 426: "non-editable piece and an editable one and then two empty table cells. "
- text run at (426,20) width 319: "The table cells are editable but are preserved and not"
- text run at (0,40) width 311: "removed because they are in a non-editable region. "
- text run at (311,40) width 453: "They should be completely cleared out, even the second one that contains a"
- text run at (0,60) width 115: "non-editable piece."
- RenderBlock {DIV} at (0,96) size 784x30
- RenderTable {TABLE} at (0,0) size 205x30 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 203x28
- RenderTableRow {TR} at (0,2) size 203x24
- RenderTableCell {TD} at (2,2) size 84x24 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (2,2) size 80x19
- text run at (2,2) width 80: "Non-editable"
- RenderTableCell {TD} at (88,2) size 101x24 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (2,2) size 53x19
- text run at (2,2) width 53: "Editable "
- RenderInline {SPAN} at (0,0) size 44x19
- RenderText {#text} at (55,2) size 44x19
- text run at (55,2) width 44: "content"
- RenderTableCell {TD} at (191,2) size 4x24 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
- RenderTableCell {TD} at (197,2) size 4x24 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
- RenderBlock (anonymous) at (0,30) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/gtk/editing/deleting/5026848-2-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/gtk/editing/deleting/5026848-2-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/gtk/editing/deleting/5026848-2-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,28 +0,0 @@
-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 784x38
- RenderText {#text} at (0,0) size 758x38
- text run at (0,0) width 758: "This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a"
- text run at (0,19) width 58: "deletion. "
- text run at (58,19) width 526: "You should see two 'Non-editable' pieces on either side of the editable piece below."
- RenderBlock {DIV} at (0,54) size 784x25
- RenderTable {TABLE} at (0,0) size 280x25
- RenderTableSection {TBODY} at (0,0) size 280x25
- RenderTableRow {TR} at (0,2) size 280x21
- RenderTableCell {TD} at (2,2) size 84x21 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 82x19
- text run at (1,1) width 82: "Non-editable"
- RenderTableCell {TD} at (88,2) size 104x21 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 56x19
- text run at (1,1) width 56: "Editable "
- RenderInline {SPAN} at (0,0) size 46x19
- RenderText {#text} at (57,1) size 46x19
- text run at (57,1) width 46: "content"
- RenderTableCell {TD} at (194,2) size 84x21 [r=0 c=2 rs=1 cs=1]
- RenderText {#text} at (1,1) size 82x19
- text run at (1,1) width 82: "Non-editable"
- RenderBlock (anonymous) at (0,25) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/gtk/editing/deleting/5026848-3-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/gtk/editing/deleting/5026848-3-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/gtk/editing/deleting/5026848-3-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,31 +0,0 @@
-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 777x76
- text run at (0,0) width 671: "This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. "
- text run at (671,0) width 98: "You should see"
- text run at (0,19) width 471: "one non-editable piece and an editable one and then two empty table cells. "
- text run at (471,19) width 306: "The table cells are editable but are preserved and"
- text run at (0,38) width 348: "not removed because they are in a non-editable region. "
- text run at (348,38) width 407: "They should be completely cleared out, even the second one that"
- text run at (0,57) width 186: "contains a non-editable piece."
- RenderBlock {DIV} at (0,92) size 784x29
- RenderTable {TABLE} at (0,0) size 212x29 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 210x27
- RenderTableRow {TR} at (0,2) size 210x23
- RenderTableCell {TD} at (2,2) size 86x23 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (2,2) size 82x19
- text run at (2,2) width 82: "Non-editable"
- RenderTableCell {TD} at (90,2) size 106x23 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (2,2) size 56x19
- text run at (2,2) width 56: "Editable "
- RenderInline {SPAN} at (0,0) size 46x19
- RenderText {#text} at (58,2) size 46x19
- text run at (58,2) width 46: "content"
- RenderTableCell {TD} at (198,2) size 4x23 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
- RenderTableCell {TD} at (204,2) size 4x23 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
- RenderBlock (anonymous) at (0,29) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/mac/editing/deleting/5026848-2-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/editing/deleting/5026848-2-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/mac/editing/deleting/5026848-2-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/mac/editing/deleting/5026848-2-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,28 +0,0 @@
-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 784x36
- RenderText {#text} at (0,0) size 758x36
- text run at (0,0) width 758: "This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved during a"
- text run at (0,18) width 58: "deletion. "
- text run at (58,18) width 526: "You should see two 'Non-editable' pieces on either side of the editable piece below."
- RenderBlock {DIV} at (0,52) size 784x24
- RenderTable {TABLE} at (0,0) size 280x24
- RenderTableSection {TBODY} at (0,0) size 280x24
- RenderTableRow {TR} at (0,2) size 280x20
- RenderTableCell {TD} at (2,2) size 84x20 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 82x18
- text run at (1,1) width 82: "Non-editable"
- RenderTableCell {TD} at (88,2) size 104x20 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 56x18
- text run at (1,1) width 56: "Editable "
- RenderInline {SPAN} at (0,0) size 46x18
- RenderText {#text} at (57,1) size 46x18
- text run at (57,1) width 46: "content"
- RenderTableCell {TD} at (194,2) size 84x20 [r=0 c=2 rs=1 cs=1]
- RenderText {#text} at (1,1) size 82x18
- text run at (1,1) width 82: "Non-editable"
- RenderBlock (anonymous) at (0,24) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/mac/editing/deleting/5026848-3-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/editing/deleting/5026848-3-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/mac/editing/deleting/5026848-3-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/mac/editing/deleting/5026848-3-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,31 +0,0 @@
-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 777x72
- text run at (0,0) width 671: "This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. "
- text run at (671,0) width 98: "You should see"
- text run at (0,18) width 471: "one non-editable piece and an editable one and then two empty table cells. "
- text run at (471,18) width 306: "The table cells are editable but are preserved and"
- text run at (0,36) width 348: "not removed because they are in a non-editable region. "
- text run at (348,36) width 407: "They should be completely cleared out, even the second one that"
- text run at (0,54) width 186: "contains a non-editable piece."
- RenderBlock {DIV} at (0,88) size 784x28
- RenderTable {TABLE} at (0,0) size 212x28 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 210x26
- RenderTableRow {TR} at (0,2) size 210x22
- RenderTableCell {TD} at (2,2) size 86x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (2,2) size 82x18
- text run at (2,2) width 82: "Non-editable"
- RenderTableCell {TD} at (90,2) size 106x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (2,2) size 56x18
- text run at (2,2) width 56: "Editable "
- RenderInline {SPAN} at (0,0) size 46x18
- RenderText {#text} at (58,2) size 46x18
- text run at (58,2) width 46: "content"
- RenderTableCell {TD} at (198,2) size 4x22 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
- RenderTableCell {TD} at (204,2) size 4x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
- RenderBlock (anonymous) at (0,28) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/mac-leopard/editing/deleting/5026848-2-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac-leopard/editing/deleting/5026848-3-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/qt/editing/deleting/5026848-2-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/qt/editing/deleting/5026848-2-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/qt/editing/deleting/5026848-2-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/qt/editing/deleting/5026848-2-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,28 +0,0 @@
-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 784x44
- RenderText {#text} at (0,0) size 762x44
- text run at (0,0) width 762: "This tests to see that selected non-editable nodes that are not in both the start and end editable root are preserved"
- text run at (0,22) width 123: "during a deletion. "
- text run at (123,22) width 553: "You should see two 'Non-editable' pieces on either side of the editable piece below."
- RenderBlock {DIV} at (0,60) size 784x28
- RenderTable {TABLE} at (0,0) size 299x28
- RenderTableSection {TBODY} at (0,0) size 299x28
- RenderTableRow {TR} at (0,2) size 299x24
- RenderTableCell {TD} at (2,2) size 89x24 [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (1,1) size 87x22
- text run at (1,1) width 87: "Non-editable"
- RenderTableCell {TD} at (93,2) size 113x24 [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (1,1) size 61x22
- text run at (1,1) width 61: "Editable "
- RenderInline {SPAN} at (0,0) size 50x22
- RenderText {#text} at (62,1) size 50x22
- text run at (62,1) width 50: "content"
- RenderTableCell {TD} at (208,2) size 89x24 [r=0 c=2 rs=1 cs=1]
- RenderText {#text} at (1,1) size 87x22
- text run at (1,1) width 87: "Non-editable"
- RenderBlock (anonymous) at (0,28) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body
Deleted: trunk/LayoutTests/platform/qt/editing/deleting/5026848-3-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/qt/editing/deleting/5026848-3-expected.txt (87131 => 87132)
--- trunk/LayoutTests/platform/qt/editing/deleting/5026848-3-expected.txt 2011-05-24 07:04:01 UTC (rev 87131)
+++ trunk/LayoutTests/platform/qt/editing/deleting/5026848-3-expected.txt 2011-05-24 07:16:10 UTC (rev 87132)
@@ -1,31 +0,0 @@
-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 784x88
- RenderText {#text} at (0,0) size 781x88
- text run at (0,0) width 727: "This tests to see that selected editable nodes that are not in both the start and end editable roots are cleared. "
- text run at (727,0) width 29: "You"
- text run at (0,22) width 575: "should see one non-editable piece and an editable one and then two empty table cells. "
- text run at (575,22) width 206: "The table cells are editable but"
- text run at (0,44) width 500: "are preserved and not removed because they are in a non-editable region. "
- text run at (500,44) width 263: "They should be completely cleared out,"
- text run at (0,66) width 367: "even the second one that contains a non-editable piece."
- RenderBlock {DIV} at (0,104) size 784x32
- RenderTable {TABLE} at (0,0) size 226x32 [border: (1px outset #808080)]
- RenderTableSection {TBODY} at (1,1) size 224x30
- RenderTableRow {TR} at (0,2) size 224x26
- RenderTableCell {TD} at (2,2) size 91x26 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
- RenderText {#text} at (2,2) size 87x22
- text run at (2,2) width 87: "Non-editable"
- RenderTableCell {TD} at (95,2) size 115x26 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
- RenderText {#text} at (2,2) size 61x22
- text run at (2,2) width 61: "Editable "
- RenderInline {SPAN} at (0,0) size 50x22
- RenderText {#text} at (63,2) size 50x22
- text run at (63,2) width 50: "content"
- RenderTableCell {TD} at (212,2) size 4x26 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
- RenderTableCell {TD} at (218,2) size 4x26 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
- RenderBlock (anonymous) at (0,32) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of body