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

Side by Side Diff: LayoutTests/editing/pasteboard/paste-and-sanitize.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 the paste operation trims the pasted f ragment to reduce the verbosity of the markup without affecting the style. </p> 7 <p id="description">This test checks that the paste operation trims the pasted f ragment to reduce the verbosity of the markup without affecting the style. </p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 "<div><b><i>hello</i></b></div><div><b><i>world</i></b></div>"); 44 "<div><b><i>hello</i></b></div><div><b><i>world</i></b></div>");
45 testPaste("div", "<div><b><i><span style=\"font-weight: normal;\"><b><i>hello1</ i></b><b><i> hello2</i></b></span></i></b></div>", "<b><i><span style=\"font-wei ght: normal;\"><b><i>hello1</i></b><b><i>&nbsp;hello2</i></b></span></i></b>"); 45 testPaste("div", "<div><b><i><span style=\"font-weight: normal;\"><b><i>hello1</ i></b><b><i> hello2</i></b></span></i></b></div>", "<b><i><span style=\"font-wei ght: normal;\"><b><i>hello1</i></b><b><i>&nbsp;hello2</i></b></span></i></b>");
46 testPaste("div", "<i style=\"margin: 10px;\"><b><i style=\"margin: 10px;\">hello </i></b></i>", 46 testPaste("div", "<i style=\"margin: 10px;\"><b><i style=\"margin: 10px;\">hello </i></b></i>",
47 "<i style=\"margin: 10px;\">hello</i></b></i>"); 47 "<i style=\"margin: 10px;\">hello</i></b></i>");
48 testPaste("div", "<div><b><i><span style=\"font-weight: normal\"><b><i>Hello <!- - comment -->world</i></b></span></i></b></div>", "<b><i>Hello&nbsp;world</i></b >"); 48 testPaste("div", "<div><b><i><span style=\"font-weight: normal\"><b><i>Hello <!- - comment -->world</i></b></span></i></b></div>", "<b><i>Hello&nbsp;world</i></b >");
49 testPaste("div", "<div><b><i><span style=\"font-weight: normal\">plain text<b><i >bold italic text</i></b></span></i></b></div>", "<b><i><span style=\"font-weigh t: normal;\">plain text<b><i>bold italic text</i></b></span></i></b>"); 49 testPaste("div", "<div><b><i><span style=\"font-weight: normal\">plain text<b><i >bold italic text</i></b></span></i></b></div>", "<b><i><span style=\"font-weigh t: normal;\">plain text<b><i>bold italic text</i></b></span></i></b>");
50 50
51 root.style.display = "none"; 51 root.style.display = "none";
52 52
53 </script> 53 </script>
54 <script src="../../fast/js/resources/js-test-post.js"></script>
55 </body> 54 </body>
56 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698