2007-04-19 Mitz Pettel <mitz@webkit.org>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2007 02:08:01 +0000 (02:08 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2007 02:08:01 +0000 (02:08 +0000)
        Rubber-stamped by Adam.

        - http://bugs.webkit.org/show_bug.cgi?id=13412
          Replace abe.jpg with a PNG file

        * editing/abe.jpg: Removed.
        * editing/deleting/4866671.html:
        * editing/deleting/delete-3608462-fix.html:
        * editing/deleting/delete-image-001.html:
        * editing/deleting/delete-image-002.html:
        * editing/deleting/delete-image-003.html:
        * editing/deleting/delete-image-004.html:
        * editing/execCommand/5080333-1-expected.checksum:
        * editing/execCommand/5080333-1-expected.png:
        * editing/execCommand/5080333-1.html:
        * editing/execCommand/5080333-2-expected.checksum:
        * editing/execCommand/5080333-2-expected.png:
        * editing/execCommand/5080333-2.html:
        * editing/execCommand/createLink-expected.txt:
        * editing/execCommand/createLink.html:
        * editing/execCommand/insertImage-expected.checksum:
        * editing/execCommand/insertImage-expected.png:
        * editing/execCommand/insertImage.html:
        * editing/execCommand/unlink-expected.txt:
        * editing/execCommand/unlink.html:
        * editing/inserting/12882.html:
        * editing/inserting/typing-around-image-001.html:
        * editing/pasteboard/4641033-expected.checksum:
        * editing/pasteboard/4641033-expected.png:
        * editing/pasteboard/4641033.html:
        * editing/pasteboard/4947130-expected.checksum:
        * editing/pasteboard/4947130-expected.png:
        * editing/pasteboard/4947130.html:
        * editing/pasteboard/4989774-expected.checksum:
        * editing/pasteboard/4989774-expected.png:
        * editing/pasteboard/4989774.html:
        * editing/pasteboard/copy-standalone-image.html:
        * editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.checksum:
        * editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.png:
        * editing/pasteboard/drag-image-to-contenteditable-in-iframe.html:
        * editing/pasteboard/drag-selected-image-to-contenteditable-expected.checksum:
        * editing/pasteboard/drag-selected-image-to-contenteditable-expected.png:
        * editing/pasteboard/drag-selected-image-to-contenteditable.html:
        * editing/pasteboard/styled-element-markup-expected.checksum:
        * editing/pasteboard/styled-element-markup-expected.png:
        * editing/pasteboard/styled-element-markup.html:
        * editing/resources/abe.jpg: Removed.
        * editing/resources/abe.png: Added.
        * editing/selection/4402375-expected.checksum:
        * editing/selection/4402375-expected.png:
        * editing/selection/4402375.html:
        * editing/selection/4932260-1-expected.checksum:
        * editing/selection/4932260-1-expected.png:
        * editing/selection/4932260-1.html:
        * editing/selection/4932260-2-expected.checksum:
        * editing/selection/4932260-2-expected.png:
        * editing/selection/4932260-2.html:
        * editing/selection/4932260-3-expected.checksum:
        * editing/selection/4932260-3-expected.png:
        * editing/selection/4932260-3.html:
        * editing/selection/drag-to-contenteditable-iframe-expected.checksum:
        * editing/selection/drag-to-contenteditable-iframe-expected.png:
        * editing/selection/drag-to-contenteditable-iframe.html:
        * editing/selection/extend-by-character-002-expected.checksum:
        * editing/selection/extend-by-character-002-expected.png:
        * editing/selection/extend-by-character-002.html:
        * editing/selection/extend-by-character-004-expected.checksum:
        * editing/selection/extend-by-character-004-expected.png:
        * editing/selection/extend-by-character-004.html:
        * editing/selection/image-before-linebreak-expected.checksum:
        * editing/selection/image-before-linebreak-expected.png:
        * editing/selection/image-before-linebreak.html:
        * editing/selection/legal-positions.html:
        * editing/selection/move-by-character-002-expected.checksum:
        * editing/selection/move-by-character-002-expected.png:
        * editing/selection/move-by-character-002.html:
        * editing/selection/move-by-character-004-expected.checksum:
        * editing/selection/move-by-character-004-expected.png:
        * editing/selection/move-by-character-004.html:
        * editing/selection/replaced-boundaries-1-expected.checksum:
        * editing/selection/replaced-boundaries-1-expected.png:
        * editing/selection/replaced-boundaries-1.html:
        * editing/selection/replaced-boundaries-2-expected.checksum:
        * editing/selection/replaced-boundaries-2-expected.png:
        * editing/selection/replaced-boundaries-2.html:

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

81 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/abe.jpg [deleted file]
LayoutTests/editing/deleting/4866671.html
LayoutTests/editing/deleting/delete-3608462-fix.html
LayoutTests/editing/deleting/delete-image-001.html
LayoutTests/editing/deleting/delete-image-002.html
LayoutTests/editing/deleting/delete-image-003.html
LayoutTests/editing/deleting/delete-image-004.html
LayoutTests/editing/execCommand/5080333-1-expected.checksum
LayoutTests/editing/execCommand/5080333-1-expected.png
LayoutTests/editing/execCommand/5080333-1.html
LayoutTests/editing/execCommand/5080333-2-expected.checksum
LayoutTests/editing/execCommand/5080333-2-expected.png
LayoutTests/editing/execCommand/5080333-2.html
LayoutTests/editing/execCommand/createLink-expected.txt
LayoutTests/editing/execCommand/createLink.html
LayoutTests/editing/execCommand/insertImage-expected.checksum
LayoutTests/editing/execCommand/insertImage-expected.png
LayoutTests/editing/execCommand/insertImage.html
LayoutTests/editing/execCommand/unlink-expected.txt
LayoutTests/editing/execCommand/unlink.html
LayoutTests/editing/inserting/12882.html
LayoutTests/editing/inserting/typing-around-image-001.html
LayoutTests/editing/pasteboard/4641033-expected.checksum
LayoutTests/editing/pasteboard/4641033-expected.png
LayoutTests/editing/pasteboard/4641033.html
LayoutTests/editing/pasteboard/4947130-expected.checksum
LayoutTests/editing/pasteboard/4947130-expected.png
LayoutTests/editing/pasteboard/4947130.html
LayoutTests/editing/pasteboard/4989774-expected.checksum
LayoutTests/editing/pasteboard/4989774-expected.png
LayoutTests/editing/pasteboard/4989774.html
LayoutTests/editing/pasteboard/copy-standalone-image.html
LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.checksum
LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.png
LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe.html
LayoutTests/editing/pasteboard/drag-selected-image-to-contenteditable-expected.checksum
LayoutTests/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png
LayoutTests/editing/pasteboard/drag-selected-image-to-contenteditable.html
LayoutTests/editing/pasteboard/styled-element-markup-expected.checksum
LayoutTests/editing/pasteboard/styled-element-markup-expected.png
LayoutTests/editing/pasteboard/styled-element-markup.html
LayoutTests/editing/resources/abe.jpg [deleted file]
LayoutTests/editing/resources/abe.png [new file with mode: 0644]
LayoutTests/editing/selection/4402375-expected.checksum
LayoutTests/editing/selection/4402375-expected.png
LayoutTests/editing/selection/4402375.html
LayoutTests/editing/selection/4932260-1-expected.checksum
LayoutTests/editing/selection/4932260-1-expected.png
LayoutTests/editing/selection/4932260-1.html
LayoutTests/editing/selection/4932260-2-expected.checksum
LayoutTests/editing/selection/4932260-2-expected.png
LayoutTests/editing/selection/4932260-2.html
LayoutTests/editing/selection/4932260-3-expected.checksum
LayoutTests/editing/selection/4932260-3-expected.png
LayoutTests/editing/selection/4932260-3.html
LayoutTests/editing/selection/drag-to-contenteditable-iframe-expected.checksum
LayoutTests/editing/selection/drag-to-contenteditable-iframe-expected.png
LayoutTests/editing/selection/drag-to-contenteditable-iframe.html
LayoutTests/editing/selection/extend-by-character-002-expected.checksum
LayoutTests/editing/selection/extend-by-character-002-expected.png
LayoutTests/editing/selection/extend-by-character-002.html
LayoutTests/editing/selection/extend-by-character-004-expected.checksum
LayoutTests/editing/selection/extend-by-character-004-expected.png
LayoutTests/editing/selection/extend-by-character-004.html
LayoutTests/editing/selection/image-before-linebreak-expected.checksum
LayoutTests/editing/selection/image-before-linebreak-expected.png
LayoutTests/editing/selection/image-before-linebreak.html
LayoutTests/editing/selection/legal-positions.html
LayoutTests/editing/selection/move-by-character-002-expected.checksum
LayoutTests/editing/selection/move-by-character-002-expected.png
LayoutTests/editing/selection/move-by-character-002.html
LayoutTests/editing/selection/move-by-character-004-expected.checksum
LayoutTests/editing/selection/move-by-character-004-expected.png
LayoutTests/editing/selection/move-by-character-004.html
LayoutTests/editing/selection/replaced-boundaries-1-expected.checksum
LayoutTests/editing/selection/replaced-boundaries-1-expected.png
LayoutTests/editing/selection/replaced-boundaries-1.html
LayoutTests/editing/selection/replaced-boundaries-2-expected.checksum
LayoutTests/editing/selection/replaced-boundaries-2-expected.png
LayoutTests/editing/selection/replaced-boundaries-2.html

index 1d83e33..2618520 100644 (file)
@@ -1,3 +1,91 @@
+2007-04-19  Mitz Pettel  <mitz@webkit.org>
+
+        Rubber-stamped by Adam.
+
+        - http://bugs.webkit.org/show_bug.cgi?id=13412
+          Replace abe.jpg with a PNG file
+
+        * editing/abe.jpg: Removed.
+        * editing/deleting/4866671.html:
+        * editing/deleting/delete-3608462-fix.html:
+        * editing/deleting/delete-image-001.html:
+        * editing/deleting/delete-image-002.html:
+        * editing/deleting/delete-image-003.html:
+        * editing/deleting/delete-image-004.html:
+        * editing/execCommand/5080333-1-expected.checksum:
+        * editing/execCommand/5080333-1-expected.png:
+        * editing/execCommand/5080333-1.html:
+        * editing/execCommand/5080333-2-expected.checksum:
+        * editing/execCommand/5080333-2-expected.png:
+        * editing/execCommand/5080333-2.html:
+        * editing/execCommand/createLink-expected.txt:
+        * editing/execCommand/createLink.html:
+        * editing/execCommand/insertImage-expected.checksum:
+        * editing/execCommand/insertImage-expected.png:
+        * editing/execCommand/insertImage.html:
+        * editing/execCommand/unlink-expected.txt:
+        * editing/execCommand/unlink.html:
+        * editing/inserting/12882.html:
+        * editing/inserting/typing-around-image-001.html:
+        * editing/pasteboard/4641033-expected.checksum:
+        * editing/pasteboard/4641033-expected.png:
+        * editing/pasteboard/4641033.html:
+        * editing/pasteboard/4947130-expected.checksum:
+        * editing/pasteboard/4947130-expected.png:
+        * editing/pasteboard/4947130.html:
+        * editing/pasteboard/4989774-expected.checksum:
+        * editing/pasteboard/4989774-expected.png:
+        * editing/pasteboard/4989774.html:
+        * editing/pasteboard/copy-standalone-image.html:
+        * editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.checksum:
+        * editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.png:
+        * editing/pasteboard/drag-image-to-contenteditable-in-iframe.html:
+        * editing/pasteboard/drag-selected-image-to-contenteditable-expected.checksum:
+        * editing/pasteboard/drag-selected-image-to-contenteditable-expected.png:
+        * editing/pasteboard/drag-selected-image-to-contenteditable.html:
+        * editing/pasteboard/styled-element-markup-expected.checksum:
+        * editing/pasteboard/styled-element-markup-expected.png:
+        * editing/pasteboard/styled-element-markup.html:
+        * editing/resources/abe.jpg: Removed.
+        * editing/resources/abe.png: Added.
+        * editing/selection/4402375-expected.checksum:
+        * editing/selection/4402375-expected.png:
+        * editing/selection/4402375.html:
+        * editing/selection/4932260-1-expected.checksum:
+        * editing/selection/4932260-1-expected.png:
+        * editing/selection/4932260-1.html:
+        * editing/selection/4932260-2-expected.checksum:
+        * editing/selection/4932260-2-expected.png:
+        * editing/selection/4932260-2.html:
+        * editing/selection/4932260-3-expected.checksum:
+        * editing/selection/4932260-3-expected.png:
+        * editing/selection/4932260-3.html:
+        * editing/selection/drag-to-contenteditable-iframe-expected.checksum:
+        * editing/selection/drag-to-contenteditable-iframe-expected.png:
+        * editing/selection/drag-to-contenteditable-iframe.html:
+        * editing/selection/extend-by-character-002-expected.checksum:
+        * editing/selection/extend-by-character-002-expected.png:
+        * editing/selection/extend-by-character-002.html:
+        * editing/selection/extend-by-character-004-expected.checksum:
+        * editing/selection/extend-by-character-004-expected.png:
+        * editing/selection/extend-by-character-004.html:
+        * editing/selection/image-before-linebreak-expected.checksum:
+        * editing/selection/image-before-linebreak-expected.png:
+        * editing/selection/image-before-linebreak.html:
+        * editing/selection/legal-positions.html:
+        * editing/selection/move-by-character-002-expected.checksum:
+        * editing/selection/move-by-character-002-expected.png:
+        * editing/selection/move-by-character-002.html:
+        * editing/selection/move-by-character-004-expected.checksum:
+        * editing/selection/move-by-character-004-expected.png:
+        * editing/selection/move-by-character-004.html:
+        * editing/selection/replaced-boundaries-1-expected.checksum:
+        * editing/selection/replaced-boundaries-1-expected.png:
+        * editing/selection/replaced-boundaries-1.html:
+        * editing/selection/replaced-boundaries-2-expected.checksum:
+        * editing/selection/replaced-boundaries-2-expected.png:
+        * editing/selection/replaced-boundaries-2.html:
+
 2007-04-19  Justin Garcia  <justin.garcia@apple.com>
 
         Reviewed by harrison
diff --git a/LayoutTests/editing/abe.jpg b/LayoutTests/editing/abe.jpg
deleted file mode 100644 (file)
index 48d5019..0000000
Binary files a/LayoutTests/editing/abe.jpg and /dev/null differ
index bf6e397..b4b3a51 100644 (file)
@@ -1,5 +1,5 @@
 <p>This tests for a crash when triple-click/deleting the content in a list item that is at the end of the document, when there is a div with -webkit-user-select:none after the list item.</p>
-<div id="div" contenteditable="true"><ul><li>One</li><li id="start">Two</li><span id="end" style="-webkit-user-select:none"><img src="../resources/abe.jpg"></span></ul></div>
+<div id="div" contenteditable="true"><ul><li>One</li><li id="start">Two</li><span id="end" style="-webkit-user-select:none"><img src="../resources/abe.png"></span></ul></div>
 
 <script>
 var start = document.getElementById("start");
index b2e0dac..60eaec0 100644 (file)
@@ -27,8 +27,8 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg">new 
-<br>foo <i>  </i> <img src="../abe.jpg"> conceived</span>
+<span id="test">a<img src="../resources/abe.png">new 
+<br>foo <i>  </i> <img src="../resources/abe.png"> conceived</span>
 </div>
 
 <script>
index 8dc9715..b74d63a 100644 (file)
@@ -25,8 +25,8 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg"> <img src="../abe.jpg"> conceived
-<br>nation<img src="../abe.jpg"></span>
+<span id="test">a<img src="../resources/abe.png"> <img src="../resources/abe.png"> conceived
+<br>nation<img src="../resources/abe.png"></span>
 </div>
 
 <script>
index bbeb429..fe0dac6 100644 (file)
@@ -25,9 +25,9 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg">new 
-<br>nation <i>  </i> <img src="../abe.jpg"> conceived
-<br>nation<img src="../abe.jpg"></span>
+<span id="test">a<img src="../resources/abe.png">new 
+<br>nation <i>  </i> <img src="../resources/abe.png"> conceived
+<br>nation<img src="../resources/abe.png"></span>
 </div>
 
 <script>
index ded62a8..7329cb1 100644 (file)
@@ -25,7 +25,7 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg"><img src="../abe.jpg"> lincoln</span>
+<span id="test">a<img src="../resources/abe.png"><img src="../resources/abe.png"> lincoln</span>
 </div>
 
 <script>
index 31b7aaa..c13e9ea 100644 (file)
@@ -14,8 +14,8 @@
 
 function editingTest() {
     for (i=0; i < 4; i++)
-       extendSelectionForwardByCharacterCommand();
-       deleteCommand();
+        extendSelectionForwardByCharacterCommand();
+    deleteCommand();
 }
 
 </script>
@@ -24,7 +24,7 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test"> <img src="../abe.jpg"> <img src="../abe.jpg"> </span>
+<span id="test"> <img src="../resources/abe.png"> <img src="../resources/abe.png"> </span>
 </div>
 
 <script>
index 6404449..24fd31b 100644 (file)
@@ -1 +1 @@
-76386b683b85d7193166d8a0022f696a
\ No newline at end of file
+08180a0ff769578d337a1f4ae1cc1a92
\ No newline at end of file
index 4d90a5c..adb2848 100644 (file)
Binary files a/LayoutTests/editing/execCommand/5080333-1-expected.png and b/LayoutTests/editing/execCommand/5080333-1-expected.png differ
index 36e51c9..6dc9712 100644 (file)
@@ -1,5 +1,5 @@
 <p>This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that was present before the alignment change.  The image should be centered and the caret should be the same before and after the operation.</p>
-<div id="div" contenteditable="true">foo<br><img src="../resources/abe.jpg"><br>baz</div>
+<div id="div" contenteditable="true">foo<br><img src="../resources/abe.png"><br>baz</div>
 
 <script>
 var div = document.getElementById("div");
index ce28b35..6be38f4 100644 (file)
@@ -1 +1 @@
-26e7fb895fc46b6efcc6eb14a9da7034
\ No newline at end of file
+75d1b45e5beb5118f2270d9c888e4b23
\ No newline at end of file
index 8523b36..660220c 100644 (file)
Binary files a/LayoutTests/editing/execCommand/5080333-2-expected.png and b/LayoutTests/editing/execCommand/5080333-2-expected.png differ
index 81a6a86..d2e1f12 100644 (file)
@@ -1,5 +1,5 @@
 <p>This tests for a bug where changing the alignment of an image would result in a selection that wasn't the one that was present before the alignment change.  The image should be centered and the selection should be the same before and after the operation.</p>
-<div id="div" contenteditable="true">foo<br><img src="../resources/abe.jpg"><br>baz</div>
+<div id="div" contenteditable="true">foo<br><img src="../resources/abe.png"><br>baz</div>
 
 <script>
 var div = document.getElementById("div");
index c4c3d89..b706fca 100644 (file)
@@ -59,5 +59,5 @@ innerHTML of editable regions after the test:
 <a href="http://www.google.com/">This paragraph starts unlinked. The entire paragraph should end up being a link to google.com.</a>
 <a href="http://www.apple.com/">This</a><a href="http://www.google.com/"> paragraph</a><a href="http://www.apple.com/"> starts out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.</a>
 <a href="http://www.apple.com/">This</a><a href="http://www.google.com/"> paragraph</a><a href="http://www.apple.com/"> starts out as a link to apple.com. The second word in the paragraph should end up being a link to google.com.</a>
-<p><a href="http://www.google.com/">This </a><i><a href="http://www.google.com/">editable region</a></i><a href="http://www.google.com/"> contains lists, tables, styled text, and images. The entire region should end up being a link to google.com.</a></p> <ul> <li><a href="http://www.google.com/">Item 1</a></li> <li><a href="http://www.google.com/">Item 2</a></li> </ul> <table border="1"><tbody><tr><td><a href="http://www.google.com/">1</a></td><td><a href="http://www.google.com/">2</a></td><td><a href="http://www.google.com/">3</a></td></tr></tbody></table> <a href="http://www.google.com/"><br> This </a><b><a href="http://www.google.com/">line</a></b><a href="http://www.google.com/"> contains </a><a href="http://www.google.com/"><img src="../resources/abe.jpg"> an image. </a>
+<p><a href="http://www.google.com/">This </a><i><a href="http://www.google.com/">editable region</a></i><a href="http://www.google.com/"> contains lists, tables, styled text, and images. The entire region should end up being a link to google.com.</a></p> <ul> <li><a href="http://www.google.com/">Item 1</a></li> <li><a href="http://www.google.com/">Item 2</a></li> </ul> <table border="1"><tbody><tr><td><a href="http://www.google.com/">1</a></td><td><a href="http://www.google.com/">2</a></td><td><a href="http://www.google.com/">3</a></td></tr></tbody></table> <a href="http://www.google.com/"><br> This </a><b><a href="http://www.google.com/">line</a></b><a href="http://www.google.com/"> contains </a><a href="http://www.google.com/"><img src="../resources/abe.png"> an image. </a>
 
index 0416785..c6f2cc5 100644 (file)
@@ -75,7 +75,7 @@ function editingTest() {
 </ul>
 <table border=1><tr><td>1</td><td>2</td><td>3</td></tr></table>
 <br>
-This <b>line</b> contains <img src="../resources/abe.jpg"> an image.
+This <b>line</b> contains <img src="../resources/abe.png"> an image.
 </div></li>
 </ol>
 <p>innerHTML of editable regions after the test:</p>
index 279ef82..843e2e0 100644 (file)
@@ -1 +1 @@
-0da06ab1601e193bd428decc253ef9f2
\ No newline at end of file
+626aa85257a0662dff6cfee7878aebe4
\ No newline at end of file
index 9e502d1..4be2c3e 100644 (file)
Binary files a/LayoutTests/editing/execCommand/insertImage-expected.png and b/LayoutTests/editing/execCommand/insertImage-expected.png differ
index cccd65a..73c0622 100644 (file)
@@ -11,7 +11,7 @@ function log(message) {
 }
 
 function editingTest() {
-    insertImageCommand("../resources/abe.jpg");
+    insertImageCommand("../resources/abe.png");
     insertImageCommand("../resources/do-not-name-an-image-this.jpg");
 }
 </script>
index bf0bd97..c52eabe 100644 (file)
@@ -66,5 +66,5 @@ The innerHTML of editable regions after the test:
 This paragraph should should end up unlinked.
 <a href="http://www.apple.com/">The</a> second<a href="http://www.apple.com/"> word in this paragraph should end up being unlinked, everything else should be a link.</a>
 This paragraph starts with <i><a href="http://www.google.com">a</a></i><span id="test3start"> link</span> in the middle. Only the 'a' in the previous sentence should be linked after the test.
-<p>This <i>editable region</i> contains lists, tables, styled text, and images. Everything in this region that is not selected should be a link, nothing that is selected should be a link.</p> <ul> <li>Item 1</li> <li>Item 2</li> </ul> <table border="1"><tbody><tr><td>1</td><td>2</td><td><span id="test4end"><a href="http://www.google.com/">3</a></span></td></tr></tbody></table> <a href="http://www.google.com/"><br> This </a><b><a href="http://www.google.com/">line</a></b><a href="http://www.google.com/"> contains </a><a href="http://www.google.com/"><img src="../resources/abe.jpg"> an image. </a>
+<p>This <i>editable region</i> contains lists, tables, styled text, and images. Everything in this region that is not selected should be a link, nothing that is selected should be a link.</p> <ul> <li>Item 1</li> <li>Item 2</li> </ul> <table border="1"><tbody><tr><td>1</td><td>2</td><td><span id="test4end"><a href="http://www.google.com/">3</a></span></td></tr></tbody></table> <a href="http://www.google.com/"><br> This </a><b><a href="http://www.google.com/">line</a></b><a href="http://www.google.com/"> contains </a><a href="http://www.google.com/"><img src="../resources/abe.png"> an image. </a>
 
index d6f08b3..baf09c8 100644 (file)
@@ -81,7 +81,7 @@ function editingTest() {
 </ul>
 <table border=1><tr><td>1</td><td>2</td><td><span id="test4end">3</span></td></tr></table>
 <br>
-This <b>line</b> contains <img src="../resources/abe.jpg"> an image.
+This <b>line</b> contains <img src="../resources/abe.png"> an image.
 </div></li>
 </ol>
 <p>The innerHTML of editable regions after the test:</p>
index 5a392a0..2b15243 100644 (file)
@@ -8,5 +8,5 @@ var text = div.firstChild;
 
 sel.setPosition(text, 30);
 
-document.execCommand("InsertHTML", false, "<img src='../resources/abe.jpg' align='right'>");
+document.execCommand("InsertHTML", false, "<img src='../resources/abe.png' align='right'>");
 </script>
index 98d0896..4236efe 100644 (file)
@@ -35,7 +35,7 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test"><img src="../abe.jpg"><img src="../abe.jpg"> <img src="../abe.jpg"></span>
+<span id="test"><img src="../resources/abe.png"><img src="../resources/abe.png"> <img src="../resources/abe.png"></span>
 </div>
 
 <script>
index 1cd986a..2cab8fa 100644 (file)
@@ -1 +1 @@
-b8ef554240559aa009b8ea3104b9723d
\ No newline at end of file
+5675296d472f20e3cd206c66257490d1
\ No newline at end of file
index 0501d49..f848d7d 100644 (file)
Binary files a/LayoutTests/editing/pasteboard/4641033-expected.png and b/LayoutTests/editing/pasteboard/4641033-expected.png differ
index 6900173..1fb9710 100644 (file)
@@ -5,7 +5,7 @@ if (window.layoutTestController)
 <p>This tests for a bug when creating markup for a selection that contained unrendered nodes with children.  You should see a picture of abe followed by a select box.</p>
 <div id="paste" contenteditable="true"></div>
 
-<img id="start" src="../resources/abe.jpg">
+<img id="start" src="../resources/abe.png">
 <select id="end"><optgroup><option>1</option><option>2</option><option>3</option></optgroup></select>
 </select>
 <script>
index 471bedf..3dad22d 100644 (file)
@@ -1 +1 @@
-4db90e274cc0e26078d9e1fc296aec05
\ No newline at end of file
+41e551c1b3ce5530d2224bae09ce9e20
\ No newline at end of file
index 336062f..79db839 100644 (file)
Binary files a/LayoutTests/editing/pasteboard/4947130-expected.png and b/LayoutTests/editing/pasteboard/4947130-expected.png differ
index 99db323..f4654af 100644 (file)
@@ -1,6 +1,6 @@
 <p>This tests to see if dragging an image is a move drag by default (it should be).  You should only see one picture and it should be somewhere near the middle. <b>This demonstrates a bug, the ghost of the drag caret is left after the drop.</b></p>
 <div contenteditable="true" id="div">
-xxxxxxxxxx<img id="img" src="../resources/abe.jpg">
+xxxxxxxxxx<img id="img" src="../resources/abe.png">
 </div>
 
 <script>
index 9562659..8a4c2ef 100644 (file)
@@ -1 +1 @@
-c8b830f8a62bcc5513200f55af61c6d1
\ No newline at end of file
+6c03d26dbbfba19f07b9a4e4a1c322d0
\ No newline at end of file
index 2a5ec4a..ac13ba3 100644 (file)
Binary files a/LayoutTests/editing/pasteboard/4989774-expected.png and b/LayoutTests/editing/pasteboard/4989774-expected.png differ
index 7909483..259153e 100644 (file)
@@ -1,4 +1,4 @@
-<body style="font-weight: bold;" id="div" contenteditable="true"><img src="../resources/abe.jpg"></body>
+<body style="font-weight: bold;" id="div" contenteditable="true"><img src="../resources/abe.png"></body>
 
 <script>
 var body = document.body;
index 9d28299..fc9c10f 100644 (file)
@@ -32,7 +32,7 @@ iframe {
 then click in the red box and paste the image. If the image pastes successfully the
 test is passed.</p>
 
-<iframe name="imageframe" src="../abe.jpg" onload="javascript:editingTest()">
+<iframe name="imageframe" src="../resources/abe.png" onload="javascript:editingTest()">
 </iframe>
 
 <div id="dest" class="editable" contenteditable="true"> </div>
index 106693c..e2bdf64 100644 (file)
Binary files a/LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.png and b/LayoutTests/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.png differ
index 8fff01b..e753bce 100644 (file)
@@ -44,7 +44,7 @@ function runTest() {
 <body>
     <p>This tests that we can drag an image into the last position of a content editable div in an iframe that already contains an image, without crashing.</p>
     
-    <img id="dragme" src="../resources/abe.jpg"/>
+    <img id="dragme" src="../resources/abe.png"/>
     <iframe id="drag_target" onload="runTest();" src='data:text/html,<div contenteditable="true" style="height: 95%; width: 95%; border: solid 1px black;"><img id="dragme" src="broken_image"/></div>'>
     </iframe>
     <ul id="console"></ul>
index 1351ebc..824460f 100644 (file)
Binary files a/LayoutTests/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png and b/LayoutTests/editing/pasteboard/drag-selected-image-to-contenteditable-expected.png differ
index 1b78445..2140a15 100644 (file)
@@ -55,7 +55,7 @@ function step2()
 <body style="padding:0; margin:0" onload="runTest();">  
 
 <div id="target" style="border: 1px solid black; width: 300px; height: 120px;" contenteditable="true"></div>
-<img id="dragme" src="../resources/abe.jpg">
+<img id="dragme" src="../resources/abe.png">
 
 <ul id="console"></ul>
 </body>
index b428737..dfad349 100644 (file)
Binary files a/LayoutTests/editing/pasteboard/styled-element-markup-expected.png and b/LayoutTests/editing/pasteboard/styled-element-markup-expected.png differ
index 820470d..f866f46 100644 (file)
@@ -4,7 +4,7 @@ if (window.layoutTestController)
 </script>
 <p>This tests copy/paste of styled elements, like images.  The image in the region below should be centered after its copied and pasted.</p>
 <p><b>This demonstrates a bug: createMarkup puts the text-align property on the image, which doesn't center it, so its left aligned on paste.</b></p>
-<div contenteditable="true" id="copy"><center><img src="../resources/abe.jpg"></center></div>
+<div contenteditable="true" id="copy"><center><img src="../resources/abe.png"></center></div>
 <div contenteditable="true" id="paste"></div>
 
 <script>;
diff --git a/LayoutTests/editing/resources/abe.jpg b/LayoutTests/editing/resources/abe.jpg
deleted file mode 100644 (file)
index 48d5019..0000000
Binary files a/LayoutTests/editing/resources/abe.jpg and /dev/null differ
diff --git a/LayoutTests/editing/resources/abe.png b/LayoutTests/editing/resources/abe.png
new file mode 100644 (file)
index 0000000..c932536
Binary files /dev/null and b/LayoutTests/editing/resources/abe.png differ
index e11e3e6..7a78849 100644 (file)
@@ -1 +1 @@
-69ab79208f005273d7520d4f3fb6901c
\ No newline at end of file
+7f90ab74ffadcb6cdf54206fc227bcf6
\ No newline at end of file
index f92bb47..4ae5731 100644 (file)
Binary files a/LayoutTests/editing/selection/4402375-expected.png and b/LayoutTests/editing/selection/4402375-expected.png differ
index b3aa997..ab1a48e 100644 (file)
@@ -5,7 +5,7 @@ if (window.layoutTestController)
 <p>This is a testcase for <a href="rdar://problem/4402375">rdar://problem/4402375</a> "REGRESSION (417.8-TOT): finding text sometimes also selects previous image (5127) (6451)"</p>
 <hr>
 <p>This test uses a right aligned image next to some left aligned text.  The image should not be selected, and should not be included in the selection rect (you won't see the selection rect when you run this test manually).</p>
-<div id="test" align="left"><img src="../resources/abe.jpg" align="right">This text should be selected.</div>
+<div id="test" align="left"><img src="../resources/abe.png" align="right">This text should be selected.</div>
 <script>
 if (window.layoutTestController)
     window.layoutTestController.dumpSelectionRect();
index bee8061..e5d60e4 100644 (file)
@@ -1 +1 @@
-f0cf384ca39eaa4fd1bdf0c1bfb43a87
\ No newline at end of file
+d680fb355d75aa813d0b01b3e9566b3c
\ No newline at end of file
index 9a25401..913c78c 100644 (file)
Binary files a/LayoutTests/editing/selection/4932260-1-expected.png and b/LayoutTests/editing/selection/4932260-1-expected.png differ
index aee1859..58019ff 100644 (file)
@@ -1,5 +1,5 @@
 <p>This tests for a bug where images would act as sentence boundaries.</p>
-<div id="div" contenteditable="true">The caret should be <img src="../resources/abe.jpg">at the beginning of this sentence.</div>
+<div id="div" contenteditable="true">The caret should be <img src="../resources/abe.png">at the beginning of this sentence.</div>
 
 <script>
 if (window.layoutTestController)
index fb54b24..3097e16 100644 (file)
@@ -1 +1 @@
-dfa104874da50efdffe7bcec315137eb
\ No newline at end of file
+9b1f9d2bbd8579260b644632bac46adc
\ No newline at end of file
index a41a519..f4b9dd8 100644 (file)
Binary files a/LayoutTests/editing/selection/4932260-2-expected.png and b/LayoutTests/editing/selection/4932260-2-expected.png differ
index 1fdcc13..c36668d 100644 (file)
@@ -1,5 +1,5 @@
 <p>This tests for a bug where images would act as word boundaries.</p>
-<div id="div" contenteditable="true">The<img src="../resources/abe.jpg">caret should be just after the second word in this sentence.</div>
+<div id="div" contenteditable="true">The<img src="../resources/abe.png">caret should be just after the second word in this sentence.</div>
 
 <script>
 if (window.layoutTestController)
index 47f354e..6510a44 100644 (file)
@@ -1 +1 @@
-979718b8bb87905e2c6936ea0d00ee21
\ No newline at end of file
+b69a15f37895a228ed081ddb86cdf0e3
\ No newline at end of file
index 44c5641..f22aa9b 100644 (file)
Binary files a/LayoutTests/editing/selection/4932260-3-expected.png and b/LayoutTests/editing/selection/4932260-3-expected.png differ
index d3fc356..2740304 100644 (file)
@@ -1,5 +1,5 @@
 <p>This tests for a bug where images would act as word boundaries.</p>
-<div id="div" contenteditable="true">The caret should be just before the second to last word in this<img src="../resources/abe.jpg">sentence.</div>
+<div id="div" contenteditable="true">The caret should be just before the second to last word in this<img src="../resources/abe.png">sentence.</div>
 
 <script>
 if (window.layoutTestController)
index 576df41..281e4a6 100644 (file)
Binary files a/LayoutTests/editing/selection/drag-to-contenteditable-iframe-expected.png and b/LayoutTests/editing/selection/drag-to-contenteditable-iframe-expected.png differ
index d3aabf6..d46ff06 100644 (file)
@@ -54,7 +54,7 @@ function step2()
 <body style="padding:0; margin:0">  
 
 <iframe id="frame" style="width: 200px; height: 200px; border: 4px solid black;" src="../resources/contenteditable-iframe-src.html"></iframe>
-<img id="dragme" src="../resources/abe.jpg">
+<img id="dragme" src="../resources/abe.png">
 
 <ul id="console"></ul>
 <script>runTest();</script>
index e83c4dc..612ebd7 100644 (file)
Binary files a/LayoutTests/editing/selection/extend-by-character-002-expected.png and b/LayoutTests/editing/selection/extend-by-character-002-expected.png differ
index 9768d8a..e2c56ff 100644 (file)
@@ -24,12 +24,12 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg">new      
-<br>nation    <i>  </i> <img src="../abe.jpg">     
+<span id="test">a<img src="../resources/abe.png">new      
+<br>nation    <i>  </i> <img src="../resources/abe.png">     
 
 
 conceived
-<br>nation<img src="../abe.jpg"></span>
+<br>nation<img src="../resources/abe.png"></span>
 </div>
 
 <script>
index 7c250a4..ebb5686 100644 (file)
Binary files a/LayoutTests/editing/selection/extend-by-character-004-expected.png and b/LayoutTests/editing/selection/extend-by-character-004-expected.png differ
index 7c63a07..5d1b71a 100644 (file)
@@ -27,9 +27,9 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg">new 
-<br>nation <i>  </i> <img src="../abe.jpg"> conceived
-<br>nation<img src="../abe.jpg"></span>
+<span id="test">a<img src="../resources/abe.png">new 
+<br>nation <i>  </i> <img src="../resources/abe.png"> conceived
+<br>nation<img src="../resources/abe.png"></span>
 </div>
 
 <script>
index ce49cbf..eb9c3aa 100644 (file)
Binary files a/LayoutTests/editing/selection/image-before-linebreak-expected.png and b/LayoutTests/editing/selection/image-before-linebreak-expected.png differ
index d0d0f2a..47c9f0d 100644 (file)
@@ -4,7 +4,7 @@ if (window.layoutTestController)
 </script>
 <p>Only the line break after the image should be selected.</p>
 <hr>
-<div contenteditable="true" id="div"><img src="../resources/abe.jpg"><br>foo</div>
+<div contenteditable="true" id="div"><img src="../resources/abe.png"><br>foo</div>
 
 <script>
 if (window.layoutTestController)
index 1117ae0..8c9677c 100644 (file)
@@ -19,7 +19,7 @@ function assert(bool) {
 }
 </script>
 <p>This tests the endpoints of a DOM Range object made from a selection around certain types elements.  These endpoints shouldn't be at offsets inside nodes that aren't containers or text nodes.</p>
-<div id="test">Hello <img src="../resources/abe.jpg"><object width="100"></object>world!<br>Hello World!</div>
+<div id="test">Hello <img src="../resources/abe.png"><object width="100"></object>world!<br>Hello World!</div>
 <ul id="console"></ul>
 
 <script>
index 8a40d94..6bfe92f 100644 (file)
Binary files a/LayoutTests/editing/selection/move-by-character-002-expected.png and b/LayoutTests/editing/selection/move-by-character-002-expected.png differ
index e6cbc1c..7e106dc 100644 (file)
@@ -24,9 +24,9 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg">new 
-<br>nation <i>  </i> <img src="../abe.jpg"> conceived
-<br>nation<img src="../abe.jpg"></span>
+<span id="test">a<img src="../resources/abe.png">new 
+<br>nation <i>  </i> <img src="../resources/abe.png"> conceived
+<br>nation<img src="../resources/abe.png"></span>
 </div>
 
 <script>
index 86afca3..7851ac8 100644 (file)
Binary files a/LayoutTests/editing/selection/move-by-character-004-expected.png and b/LayoutTests/editing/selection/move-by-character-004-expected.png differ
index 76b8d68..f145a47 100644 (file)
@@ -27,9 +27,9 @@ function editingTest() {
 </head> 
 <body>
 <div contenteditable id="root" class="editing">
-<span id="test">a<img src="../abe.jpg">new 
-<br>nation <i>  </i> <img src="../abe.jpg"> conceived
-<br>nation<img src="../abe.jpg"></span>
+<span id="test">a<img src="../resources/abe.png">new 
+<br>nation <i>  </i> <img src="../resources/abe.png"> conceived
+<br>nation<img src="../resources/abe.png"></span>
 </div>
 
 <script>
index f6dd062..55a24cf 100644 (file)
Binary files a/LayoutTests/editing/selection/replaced-boundaries-1-expected.png and b/LayoutTests/editing/selection/replaced-boundaries-1-expected.png differ
index 88cc912..60e992e 100644 (file)
@@ -16,7 +16,7 @@ function editingTest() {
 <body>
 <p>This tests that when a selection that starts at [replaced element, 1] is painted, the replaced element doesn't appear selected.  This test uses an image for the replaced element.</p>
 <div id="test" contenteditable>
-abc<img src="../abe.jpg">def
+abc<img src="../resources/abe.png">def
 </div>
 <script>runEditingTest()</script>
 </body>
index a40808a..fb78540 100644 (file)
Binary files a/LayoutTests/editing/selection/replaced-boundaries-2-expected.png and b/LayoutTests/editing/selection/replaced-boundaries-2-expected.png differ
index 2483980..93e793c 100644 (file)
@@ -16,7 +16,7 @@ function editingTest() {
 <body>
 <p>This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected.  This test uses an image for the replaced element.</p>
 <div id="test" contenteditable>
-abc<img src="../abe.jpg">def
+abc<img src="../resources/abe.png">def
 </div>
 <script>runEditingTest()</script>
 </body>