Changeset 87531 in webkit
- Timestamp:
- May 27, 2011 11:52:59 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 19 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87526 r87531 1 2011-05-27 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Kent Tamura. 4 5 Convert editing/pasteboard/paste-pre-001.html and paste-pre-002.html to dump-as-markup tests 6 https://bugs.webkit.org/show_bug.cgi?id=61610 7 8 Converted paste-pre-001.html and paste-pre-002.html to dump-as-markup tests. 9 10 * editing/pasteboard/paste-pre-001-expected.txt: Added. 11 * editing/pasteboard/paste-pre-001.html: 12 * editing/pasteboard/paste-pre-002-expected.txt: Added. 13 * editing/pasteboard/paste-pre-002.html: 14 * platform/chromium-linux/editing/pasteboard/paste-pre-001-expected.png: Removed. 15 * platform/chromium-linux/editing/pasteboard/paste-pre-002-expected.png: Removed. 16 * platform/chromium-win/editing/pasteboard/paste-pre-001-expected.png: Removed. 17 * platform/chromium-win/editing/pasteboard/paste-pre-001-expected.txt: 18 * platform/chromium-win/editing/pasteboard/paste-pre-002-expected.png: Removed. 19 * platform/chromium-win/editing/pasteboard/paste-pre-002-expected.txt: 20 * platform/gtk/editing/pasteboard/paste-pre-001-expected.png: Removed. 21 * platform/gtk/editing/pasteboard/paste-pre-001-expected.txt: Removed. 22 * platform/gtk/editing/pasteboard/paste-pre-002-expected.png: Removed. 23 * platform/gtk/editing/pasteboard/paste-pre-002-expected.txt: Removed. 24 * platform/mac-leopard/editing/pasteboard/paste-pre-002-expected.png: Removed. 25 * platform/mac/editing/pasteboard/paste-pre-001-expected.png: Removed. 26 * platform/mac/editing/pasteboard/paste-pre-001-expected.txt: Removed. 27 * platform/mac/editing/pasteboard/paste-pre-002-expected.png: Removed. 28 * platform/mac/editing/pasteboard/paste-pre-002-expected.txt: Removed. 29 * platform/qt/editing/pasteboard/paste-pre-001-expected.png: Removed. 30 * platform/qt/editing/pasteboard/paste-pre-001-expected.txt: Removed. 31 * platform/qt/editing/pasteboard/paste-pre-002-expected.png: Removed. 32 * platform/qt/editing/pasteboard/paste-pre-002-expected.txt: Removed. 33 1 34 2011-05-27 Nikolas Zimmermann <nzimmermann@rim.com> 2 35 -
trunk/LayoutTests/editing/pasteboard/paste-pre-001.html
r11995 r87531 1 <!DOCTYPE html> 1 2 <html> 2 3 <head> 3 4 4 <style> 5 5 .editing { … … 17 17 .expected-results:first-line { font-weight: bold } 18 18 </style> 19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>20 21 <script>22 23 function editingTest() {24 extendSelectionForwardByLineCommand();25 extendSelectionForwardByLineCommand();26 cutCommand();27 pasteCommand();28 }29 30 </script>31 32 <title>Editing Test</title>33 19 </head> 34 20 <body> 35 36 21 <div class="explanation"> 37 22 <div class="scenario"> … … 55 40 </div> 56 41 </div> 42 <script src="../editing.js"></script> 43 <script> 57 44 58 <script> 59 runEditingTest(); 45 function editingTest() { 46 extendSelectionForwardByLineCommand(); 47 extendSelectionForwardByLineCommand(); 48 cutCommand(); 49 pasteCommand(); 50 } 51 52 runDumpAsTextEditingTest(); 60 53 </script> 61 62 54 </body> 63 55 </html> -
trunk/LayoutTests/editing/pasteboard/paste-pre-002.html
r11995 r87531 1 <html> 2 <head> 3 4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script> 5 1 <!DOCTYPE html> 2 <html> 3 <body> 4 <div class="explanation"> 5 This is a layout test for <a href="rdar://problem/4370209">rdar://problem/4370209</a> "Reproducible crash when pasting over whitespace:pre text". 6 The text below is selected, copied, and pasted over itself. You'll see foo/nbar if successful. 7 </div> 8 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"> 9 <div id="test" class="editing"> 10 <pre>foo 11 bar</pre> 12 </div> 13 </div> 14 <script src="../editing.js"></script> 6 15 <script> 7 16 … … 12 21 } 13 22 23 runDumpAsTextEditingTest(); 14 24 </script> 15 16 <title>Editing Test</title>17 </head>18 <body>19 20 <div>21 This is a layout test for <a href="rdar://problem/4370209">rdar://problem/4370209</a> "Reproducible crash when pasting over whitespace:pre text". The text below is selected, copied, and pasted over itself. You'll see foo/nbar if successful.22 </div>23 24 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">25 <div id="test" class="editing">26 <pre>foo27 bar</pre>28 </div>29 </div>30 31 <script>32 runEditingTest();33 </script>34 35 25 </body> 36 26 </html>
Note: See TracChangeset
for help on using the changeset viewer.