Changeset 69980 in webkit
- Timestamp:
- Oct 18, 2010 11:54:46 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 added
- 34 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r69977 r69980 1 2010-10-18 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Kent Tamura. 4 5 dump-as-markup conversion: editing/execCommand/4786404-1.html, 4786404-2.html, 4920488.html 6 https://bugs.webkit.org/show_bug.cgi?id=47782 7 8 Converted editing/execCommand/4786404-1.html, 4786404-2.html, 4920488.html to dump-as-markup tests. 9 10 * editing/execCommand/4786404-1-expected.txt: Added. 11 * editing/execCommand/4786404-1.html: 12 * editing/execCommand/4786404-2-expected.txt: Added. 13 * editing/execCommand/4786404-2.html: 14 * editing/execCommand/4920488-expected.txt: Added. 15 * editing/execCommand/4920488.html: 16 * platform/chromium-linux/editing/execCommand/4786404-1-expected.checksum: Removed. 17 * platform/chromium-linux/editing/execCommand/4786404-1-expected.png: Removed. 18 * platform/chromium-linux/editing/execCommand/4786404-2-expected.checksum: Removed. 19 * platform/chromium-linux/editing/execCommand/4786404-2-expected.png: Removed. 20 * platform/chromium-linux/editing/execCommand/4920488-expected.checksum: Removed. 21 * platform/chromium-linux/editing/execCommand/4920488-expected.png: Removed. 22 * platform/chromium-win/editing/execCommand/4786404-1-expected.checksum: Removed. 23 * platform/chromium-win/editing/execCommand/4786404-1-expected.png: Removed. 24 * platform/chromium-win/editing/execCommand/4786404-1-expected.txt: Removed. 25 * platform/chromium-win/editing/execCommand/4786404-2-expected.checksum: Removed. 26 * platform/chromium-win/editing/execCommand/4786404-2-expected.png: Removed. 27 * platform/chromium-win/editing/execCommand/4786404-2-expected.txt: Removed. 28 * platform/chromium-win/editing/execCommand/4920488-expected.checksum: Removed. 29 * platform/chromium-win/editing/execCommand/4920488-expected.png: Removed. 30 * platform/chromium-win/editing/execCommand/4920488-expected.txt: Removed. 31 * platform/gtk/editing/execCommand/4786404-1-expected.txt: Removed. 32 * platform/gtk/editing/execCommand/4786404-2-expected.txt: Removed. 33 * platform/gtk/editing/execCommand/4920488-expected.txt: Removed. 34 * platform/mac-leopard/editing/execCommand/4786404-2-expected.checksum: Removed. 35 * platform/mac-leopard/editing/execCommand/4786404-2-expected.png: Removed. 36 * platform/mac-leopard/editing/execCommand/4920488-expected.checksum: Removed. 37 * platform/mac-leopard/editing/execCommand/4920488-expected.png: Removed. 38 * platform/mac/editing/execCommand/4786404-1-expected.checksum: Removed. 39 * platform/mac/editing/execCommand/4786404-1-expected.png: Removed. 40 * platform/mac/editing/execCommand/4786404-1-expected.txt: Removed. 41 * platform/mac/editing/execCommand/4786404-2-expected.checksum: Removed. 42 * platform/mac/editing/execCommand/4786404-2-expected.png: Removed. 43 * platform/mac/editing/execCommand/4786404-2-expected.txt: Removed. 44 * platform/mac/editing/execCommand/4920488-expected.checksum: Removed. 45 * platform/mac/editing/execCommand/4920488-expected.png: Removed. 46 * platform/mac/editing/execCommand/4920488-expected.txt: Removed. 47 * platform/qt/editing/execCommand/4786404-1-expected.txt: Removed. 48 * platform/qt/editing/execCommand/4786404-2-expected.txt: Removed. 49 * platform/qt/editing/execCommand/4920488-expected.txt: Removed. 50 1 51 2010-10-18 Oliver Hunt <oliver@apple.com> 2 52 -
trunk/LayoutTests/editing/execCommand/4786404-1.html
r64488 r69980 1 <!DOCTYPE html> 1 2 <html style="font-weight: bold;"> 2 3 <body style="color: #999;"> 3 <p>This tests for a bug where performing the Remove Format operation on content would apply the document's style to it, not the editable regions default style. The text below should not be bold, and should be black.</p> 4 <div id="div" contenteditable="true" style="font-weight: normal; color: black;">foo <i>bar</i> baz</div> 4 <script src="../../resources/dump-as-markup.js"></script> 5 <div id="container"><div id="div" contenteditable="true" style="font-weight: normal; color: black;">foo <i>bar</i> baz</div></div> 6 <script> 5 7 6 <script>7 8 var div = document.getElementById("div"); 8 9 div.focus(); … … 10 11 document.execCommand("SelectAll"); 11 12 document.execCommand("RemoveFormat"); 13 14 Markup.description('This tests for a bug where performing the Remove Format operation on content would apply the document\'s style to it, not the editable regions default style. "foo bar baz" should not be bold, and should be black.'); 15 Markup.dump('container'); 16 12 17 </script> 13 18 </body> 19 </html> -
trunk/LayoutTests/editing/execCommand/4786404-2.html
r64488 r69980 1 <!DOCTYPE html> 1 2 <html> 2 3 <body> 3 <p>This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on.</p> 4 <div id="div" contenteditable="true"><u>foo</u> bar baz</div> 5 4 <script src="../../resources/dump-as-markup.js"></script> 5 <div id="container"><div id="div" contenteditable="true"><u>foo</u> bar baz</div></div> 6 6 <script> 7 7 var div = document.getElementById("div"); … … 10 10 document.execCommand("SelectAll"); 11 11 document.execCommand("RemoveFormat"); 12 13 Markup.description('This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on. "foo bar baz" should not have underline.'); 14 Markup.dump('container'); 15 12 16 </script> 13 17 </body> 18 </html> -
trunk/LayoutTests/editing/execCommand/4920488.html
r18924 r69980 1 <p>This tests for a bug in GMail's Editor, they try to extract the contents of a range that has had it's contents removed from the document by an editing command. You should see 'dogfood' unstyled below.</p> 1 <!DOCTYPE html> 2 <html> 3 <body> 4 <script src="../../resources/dump-as-markup.js"></script> 2 5 <div id="div" contenteditable="true">dog<a href="http://www.google.com/">food</a></div> 6 <script> 3 7 4 <script> 8 Markup.description("This tests for a bug in GMail's Editor, they try to extract the contents of a range that has had it's contents removed from the document by an editing command. You should see 'dogfood' unstyled below."); 9 5 10 var div = document.getElementById("div"); 6 11 var text = div.firstChild; … … 15 20 document.execCommand("RemoveFormat"); 16 21 22 Markup.dump(div, 'After removeFormat'); 23 17 24 r.extractContents(); 25 26 Markup.dump(div, 'After extractContents()'); 27 18 28 </script> 29 </body> 30 </html>
Note: See TracChangeset
for help on using the changeset viewer.