Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1456)

Side by Side Diff: LayoutTests/editing/pasteboard/paste-without-nesting.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description">This test checks that copy a selection and paste over the sa me selection does not create nested divs.</p> 7 <p id="description">This test checks that copy a selection and paste over the sa me selection does not create nested divs.</p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 10
(...skipping 26 matching lines...) Expand all
37 testCopyPaste("div", "Hello", "Hello"); 37 testCopyPaste("div", "Hello", "Hello");
38 testCopyPaste("div", "Hello<br>world", "Hello<br>world"); 38 testCopyPaste("div", "Hello<br>world", "Hello<br>world");
39 testCopyPaste("div", "<div>Hello</div><div>world</div>", "<div>Hello</div><div>w orld</div>"); 39 testCopyPaste("div", "<div>Hello</div><div>world</div>", "<div>Hello</div><div>w orld</div>");
40 testCopyPaste("div", "<div><div>Hello</div><div>world</div></div>", "<div>Hello< /div><div>world</div>"); 40 testCopyPaste("div", "<div><div>Hello</div><div>world</div></div>", "<div>Hello< /div><div>world</div>");
41 testCopyPaste("div", "<div><b><i>Hello</i></b></div><div><b><i>world</i></b></di v>", "<div><b><i>Hello</i></b></div><div><b><i>world</i></b></div>"); 41 testCopyPaste("div", "<div><b><i>Hello</i></b></div><div><b><i>world</i></b></di v>", "<div><b><i>Hello</i></b></div><div><b><i>world</i></b></div>");
42 testCopyPaste("div", "<div style=\"text-align: center;\"><div><font color=\"#ff0 000\"><b><i>hello</i></b></font></div><div><font color=\"#ff0000\"><b><i>world</ i></b></font></div></div>", "<div style=\"text-align: center;\"><div><font color =\"#ff0000\"><b><i>hello</i></b></font></div><div><font color=\"#ff0000\"><b><i> world</i></b></font></div></div>"); 42 testCopyPaste("div", "<div style=\"text-align: center;\"><div><font color=\"#ff0 000\"><b><i>hello</i></b></font></div><div><font color=\"#ff0000\"><b><i>world</ i></b></font></div></div>", "<div style=\"text-align: center;\"><div><font color =\"#ff0000\"><b><i>hello</i></b></font></div><div><font color=\"#ff0000\"><b><i> world</i></b></font></div></div>");
43 43
44 root.style.display = "none"; 44 root.style.display = "none";
45 45
46 </script> 46 </script>
47 <script src="../../fast/js/resources/js-test-post.js"></script>
48 </body> 47 </body>
49 </html> 48 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/pasteboard/paste-text-events.html ('k') | LayoutTests/editing/pasteboard/script-tests/TEMPLATE.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698