Changeset 86716 in webkit
- Timestamp:
- May 17, 2011 4:10:14 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 19 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86715 r86716 1 2011-05-17 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Enrica Casucci. 4 5 editing/pasteboard/paste-blockquote-2.html and paste-blockquote-3.html should be dump-as-markup tests 6 https://bugs.webkit.org/show_bug.cgi?id=60998 7 8 Converted the tests. 9 10 * editing/pasteboard/paste-blockquote-2-expected.txt: Added. 11 * editing/pasteboard/paste-blockquote-2.html: 12 * editing/pasteboard/paste-blockquote-3-expected.txt: Added. 13 * editing/pasteboard/paste-blockquote-3.html: 14 * platform/chromium-linux/editing/pasteboard/paste-blockquote-2-expected.png: Removed. 15 * platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.png: Removed. 16 * platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-2-expected.png: Removed. 17 * platform/chromium-mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Removed. 18 * platform/chromium-mac/editing/pasteboard/paste-blockquote-2-expected.png: Removed. 19 * platform/chromium-mac/editing/pasteboard/paste-blockquote-3-expected.png: Removed. 20 * platform/chromium-win/editing/pasteboard/paste-blockquote-2-expected.png: Removed. 21 * platform/chromium-win/editing/pasteboard/paste-blockquote-2-expected.txt: Removed. 22 * platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.png: Removed. 23 * platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.txt: Removed. 24 * platform/gtk/editing/pasteboard/paste-blockquote-2-expected.txt: Removed. 25 * platform/gtk/editing/pasteboard/paste-blockquote-3-expected.txt: Removed. 26 * platform/mac-leopard/editing/pasteboard/paste-blockquote-3-expected.png: Removed. 27 * platform/mac/editing/pasteboard/paste-blockquote-2-expected.png: Removed. 28 * platform/mac/editing/pasteboard/paste-blockquote-2-expected.txt: Removed. 29 * platform/mac/editing/pasteboard/paste-blockquote-3-expected.png: Removed. 30 * platform/mac/editing/pasteboard/paste-blockquote-3-expected.txt: Removed. 31 * platform/qt/editing/pasteboard/paste-blockquote-2-expected.txt: Removed. 32 * platform/qt/editing/pasteboard/paste-blockquote-3-expected.txt: Removed. 33 1 34 2011-05-17 Ryosuke Niwa <rniwa@webkit.org> 2 35 -
trunk/LayoutTests/editing/pasteboard/paste-blockquote-2.html
r17832 r86716 1 <!DOCYTPE html> 2 <html> 3 <head> 1 4 <style> 2 5 blockquote { … … 7 10 } 8 11 </style> 12 </head> 13 <body> 14 <div id="div" contenteditable="true"> This should not be blockquoted.</div> 15 <script src="../../resources/dump-as-markup.js"></script> 16 <script> 17 Markup.description("This tests pasting a blockquote at the start of a paragraph."); 9 18 10 <p>This tests pasting a blockquote at the start of a paragraph.</p>11 <div id="div" contenteditable="true"> This should not be blockquoted.</div>12 13 <script>14 19 var sel = window.getSelection(); 15 20 var div = document.getElementById("div"); … … 17 22 sel.setPosition(div, 0); 18 23 document.execCommand("InsertHTML", false, "<blockquote type='cite'>This should not be blockquoted.</blockquote>"); 24 25 Markup.dump('div'); 26 19 27 </script> 28 </body> 29 </html> -
trunk/LayoutTests/editing/pasteboard/paste-blockquote-3.html
r17832 r86716 1 <!DOCTYPE html> 2 <html> 3 <head> 1 4 <style> 2 5 blockquote { … … 7 10 } 8 11 </style> 12 </head> 13 <body> 14 <div id="div" contenteditable="true">This should not be blockquoted. This should not be blockquoted.</div> 15 <script src="../../resources/dump-as-markup.js"></script> 16 <script> 9 17 10 <p>This tests pasting a blockquote into the middle of a paragraph.</p> 11 <div id="div" contenteditable="true">This should not be blockquoted. This should not be blockquoted.</div> 18 Markup.description("This tests pasting a blockquote into the middle of a paragraph."); 12 19 13 <script>14 20 var sel = window.getSelection(); 15 21 var div = document.getElementById("div"); … … 23 29 sel.modify("move", "forward", "character"); 24 30 document.execCommand("InsertHTML", false, "<blockquote type='cite'> This should not be blockquoted.<br>This should be blockquoted.<br>This should not be blockquoted.</blockquote>"); 31 32 Markup.dump('div'); 25 33 </script> 34 </body> 35 </html>
Note: See TracChangeset
for help on using the changeset viewer.