Commit b4c9fbe8 authored by jparent@chromium.org's avatar jparent@chromium.org

2009-06-11 Ryosuke Niwa <rniwa@google.com>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=2628i
        Converted LayoutTests\editing\deleting\4875189.html from a pixel test t
 dumpAsText test
        since it only checks whether the result contains exactly two paragraphs
or not.

        * editing/deleting/4875189-expected.txt: Added.
        * editing/deleting/4875189.html:
        * platform/mac/editing/deleting/4875189-expected.checksum: Removed.
        * platform/mac/editing/deleting/4875189-expected.png: Removed.
        * platform/mac/editing/deleting/4875189-expected.txt: Removed.
        * platform/qt/editing/deleting/4875189-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a031390d
2009-06-11 Ryosuke Niwa <rniwa@google.com>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=2628i
Converted LayoutTests\editing\deleting\4875189.html from a pixel test to dumpAsText test
since it only checks whether the result contains exactly two paragraphs or not.
* editing/deleting/4875189-expected.txt: Added.
* editing/deleting/4875189.html:
* platform/mac/editing/deleting/4875189-expected.checksum: Removed.
* platform/mac/editing/deleting/4875189-expected.png: Removed.
* platform/mac/editing/deleting/4875189-expected.txt: Removed.
* platform/qt/editing/deleting/4875189-expected.txt: Removed.
2009-06-11 Eric Seidel <eric@webkit.org>
Rubber stamped by Dave Levin.
This test deletes the contents of a list, then it performs another delete, which should remove the empty list item. There should be two paragraphs below.
Paragraph One.
Paragraph Two.
Paragraph One.<br>Paragraph Two.
<p>This test deletes the contents of a list, then it performs another delete, which should remove the empty list item. There should be two paragraphs below.</p>
<div id="div" contentEditable="true">Paragraph One.<ul><li id="li">bar</li></ul>Paragraph Two.</div>
<ol id="console"></ol>
<script>
if (window.layoutTestController)
window.layoutTestController.dumpAsText();
function log(message) {
var console = document.getElementById("console");
var li = document.createElement("li");
var text = document.createTextNode(message);
li.appendChild(text);
console.appendChild(li);
}
var li = document.getElementById("li");
var sel = window.getSelection();
sel.setBaseAndExtent(li, 0, li, li.childNodes.length);
document.execCommand("Delete");
document.execCommand("Delete");
log(document.getElementById("div").innerHTML);
</script>
365ebd50dc9da0fdc12d3020acb99353
\ No newline at end of file
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 782x36
text run at (0,0) width 782: "This test deletes the contents of a list, then it performs another delete, which should remove the empty list item. There should"
text run at (0,18) width 163: "be two paragraphs below."
RenderBlock {DIV} at (0,52) size 784x36
RenderText {#text} at (0,0) size 99x18
text run at (0,0) width 99: "Paragraph One."
RenderBR {BR} at (99,14) size 0x0
RenderText {#text} at (0,18) size 102x18
text run at (0,18) width 102: "Paragraph Two."
caret: position 14 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
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 746x38
text run at (0,0) width 746: "This test deletes the contents of a list, then it performs another delete, which should remove the empty list item. There"
text run at (0,19) width 210: "should be two paragraphs below."
RenderBlock {DIV} at (0,52) size 784x38
RenderText {#text} at (0,0) size 102x19
text run at (0,0) width 102: "Paragraph One."
RenderBR {BR} at (102,14) size 0x0
RenderText {#text} at (0,19) size 102x19
text run at (0,19) width 102: "Paragraph Two."
caret: position 14 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
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