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

Side by Side Diff: LayoutTests/editing/deleting/delete-br-001.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 <body> 1 <body>
2 <div id="container"> 2 <div id="container">
3 <div contenteditable="true" id="work"></div> 3 <div contenteditable="true" id="work"></div>
4 </div> 4 </div>
5 </div> 5 </div>
6 <script src="../../fast/js/resources/js-test-pre.js"></script> 6 <script src="../../fast/js/resources/js-test-pre.js"></script>
7 <script> 7 <script>
8 function $(id) { return document.getElementById(id); } 8 function $(id) { return document.getElementById(id); }
9 9
10 var sampleHTML = 'abc<br id="a"><br id="b"><br id="c">def'; 10 var sampleHTML = 'abc<br id="a"><br id="b"><br id="c">def';
(...skipping 16 matching lines...) Expand all
27 testIt(2, 1, 0, 'abc<br id="a"><br id="b">def'); 27 testIt(2, 1, 0, 'abc<br id="a"><br id="b">def');
28 testIt(1, 2, 3, 'abc<br id="c">def'); 28 testIt(1, 2, 3, 'abc<br id="c">def');
29 testIt(2, 2, 0, 'abc<br id="a">def'); 29 testIt(2, 2, 0, 'abc<br id="a">def');
30 testIt(2, 3, 3, 'abcdef'); 30 testIt(2, 3, 3, 'abcdef');
31 31
32 if (window.testRunner) 32 if (window.testRunner)
33 $('container').outerHTML = ''; 33 $('container').outerHTML = '';
34 else 34 else
35 $('work').innerHTML = sampleHTML; 35 $('work').innerHTML = sampleHTML;
36 </script> 36 </script>
37 <script src="../../fast/js/resources/js-test-post.js"></script>
38 </body> 37 </body>
OLDNEW
« no previous file with comments | « LayoutTests/editing/deleting/delete-and-cleanup.html ('k') | LayoutTests/editing/deleting/delete-br-after-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698