Commit 3df77998 authored by ap's avatar ap

2006-11-19 Mitz Pettel <mitz@webkit.org>

        Reviewed by Maciej.

        - http://bugs.webkit.org/show_bug.cgi?id=11626
          Automate test for rdar://problem/4056100

WebCore:
        * manual-tests/delete-into-nested-block.html: Removed.

LayoutTests:
        * fast/repaint/delete-into-nested-block-expected.checksum: Added.
        * fast/repaint/delete-into-nested-block-expected.png: Added.
        * fast/repaint/delete-into-nested-block-expected.txt: Added.
        * fast/repaint/delete-into-nested-block.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3908f879
2006-11-19 Mitz Pettel <mitz@webkit.org>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=11626
Automate test for rdar://problem/4056100
* fast/repaint/delete-into-nested-block-expected.checksum: Added.
* fast/repaint/delete-into-nested-block-expected.png: Added.
* fast/repaint/delete-into-nested-block-expected.txt: Added.
* fast/repaint/delete-into-nested-block.html: Added.
2006-11-18 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
c25db14f03e47700af86d8457c33e597
\ 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 {H4} at (0,0) size 784x18
RenderText {#text} at (0,0) size 334x18
text run at (0,0) width 334: "Deleting into a nested block (was Radar 4056100)"
RenderBlock {DIV} at (0,39) size 400x54
RenderText {#text} at (0,0) size 369x54
text run at (0,0) width 345: "The bug's symptom was that the visual result were two"
text run at (0,18) width 369: "instances of the word \"three\", because the original was not"
text run at (0,36) width 175: "erased. Resize cleared it up."
RenderBlock {HR} at (0,101) size 784x2 [border: (1px inset #000000)]
RenderBlock {DIV} at (0,111) size 784x100
RenderBlock {DIV} at (0,0) size 784x18
RenderText {#text} at (0,0) size 31x18
text run at (0,0) width 31: "three"
caret: position 0 of child 0 {#text} of child 1 {DIV} of child 7 {DIV} of child 1 {BODY} of child 0 {HTML} of document
<html>
<head>
<script src="repaint.js" type="text/javascript"></script>
<script type="text/javascript">
function repaintTest()
{
document.execCommand("Delete");
}
</script>
</head>
<body onload="runRepaintTest()">
<h4>Deleting into a nested block (was Radar 4056100)</h4>
<div style="width:400px;">
The bug's symptom was that the visual result were two instances of the word "three", because the original was not erased. Resize cleared it up.
</div>
<hr>
<div contenteditable style="height: 100px;">
<div id="one">one</div>
<div id="two">
<div>two</div>
<div>three</div>
</div>
</div>
<script type="text/javascript">
var sel = window.getSelection();
var one = document.getElementById("one");
var two = document.getElementById("two");
sel.setBaseAndExtent(one, 0, two, 2);
</script>
</body>
</html>
2006-11-19 Mitz Pettel <mitz@webkit.org>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=11626
Automate test for rdar://problem/4056100
* manual-tests/delete-into-nested-block.html: Removed.
2006-11-19 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Oliver.
<html><body>
<h4>Deleting into a nested block (was Radar 4056100)</h4>
<ol>
<li>open this file in Safari or Blot</li>
<li>select the first two lines "one" and "two"</li>
<li>press the delete key</li>
</ol>
<div style="width:400px;">The bug's symptom was that the visual result were two instances of the word "three", because the original was not erased. Resize cleared it up. </div>
<hr>
<div contenteditable>
<div>one</div>
<div>
<div>two</div>
<div>three</div>
</div>
</div>
</body></html>
\ 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