Changeset 87468 in webkit
- Timestamp:
- May 26, 2011 10:27:50 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 9 deleted
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87466 r87468 1 2011-05-26 Ryosuke Niwa <rniwa@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 editing/pasteboard/5027857.html should be renamed and converted to a dump-as-markup test 6 https://bugs.webkit.org/show_bug.cgi?id=61602 7 8 Renamed 5027857.html to paste-code-in-pre.html and converted it to a dump-as-markup test. 9 10 * editing/pasteboard/5027857.html: Removed. 11 * editing/pasteboard/paste-code-in-pre-expected.txt: Added. 12 * editing/pasteboard/paste-code-in-pre.html: Copied from LayoutTests/editing/pasteboard/5027857.html. 13 * platform/chromium-linux/editing/pasteboard/5027857-expected.png: Removed. 14 * platform/chromium-win/editing/pasteboard/5027857-expected.png: Removed. 15 * platform/chromium-win/editing/pasteboard/5027857-expected.txt: Removed. 16 * platform/chromium-win/editing/pasteboard/paste-code-in-pre-expected.txt: Added. 17 * platform/gtk/editing/pasteboard/5027857-expected.png: Removed. 18 * platform/gtk/editing/pasteboard/5027857-expected.txt: Removed. 19 * platform/mac-leopard/editing/pasteboard/5027857-expected.png: Removed. 20 * platform/mac/editing/pasteboard/5027857-expected.png: Removed. 21 * platform/mac/editing/pasteboard/5027857-expected.txt: Removed. 22 * platform/qt/editing/pasteboard/5027857-expected.txt: Removed. 23 1 24 2011-05-26 Annie Sullivan <sullivan@chromium.org> 2 25 -
trunk/LayoutTests/editing/pasteboard/paste-code-in-pre.html
r87467 r87468 1 <p>This tests a bug when copying HTML markup inside <pre> tags. When pasted, this content would appear as the rendered form of that markup. You should see markup in the editable region below.</p> 2 <pre id="pre" contenteditable="true"><input type='button'>foo<br>bar<b>baz</b></pre> 1 <!DOCTYPE html> 2 <html> 3 <body> 4 <p>This tests a bug when copying HTML markup inside <pre> tags. When pasted, this content would appear as the rendered form of that markup. 5 You should see markup in the editable region below. See <rdar://5027857>.</p> 6 <div><pre id="pre" contenteditable="true"><input type='button'>foo<br>bar<b>baz</b></pre></div> 7 <script src="../../resources/dump-as-markup.js"></script> 8 <script> 3 9 4 <script>5 10 var pre = document.getElementById("pre"); 6 11 pre.focus(); … … 8 13 document.execCommand("Cut"); 9 14 document.execCommand("Paste"); 15 16 Markup.description(document.getElementsByTagName('p')[0].textContent); 17 Markup.dump(pre.parentNode); 18 10 19 </script> 20 </body> 21 </html>
Note: See TracChangeset
for help on using the changeset viewer.