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

Side by Side Diff: LayoutTests/editing/deleting/delete-non-static-position.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 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 p.li { 4 p.li {
5 position: relative; 5 position: relative;
6 } 6 }
7 </style> 7 </style>
8 </head> 8 </head>
9 <body> 9 <body>
10 <div id="container"> 10 <div id="container">
(...skipping 16 matching lines...) Expand all
27 var range = document.createRange(); 27 var range = document.createRange();
28 range.setStart($('e5'), 1); 28 range.setStart($('e5'), 1);
29 var selection = window.getSelection(); 29 var selection = window.getSelection();
30 selection.removeAllRanges(); 30 selection.removeAllRanges();
31 selection.addRange(range); 31 selection.addRange(range);
32 document.execCommand('Delete', true); 32 document.execCommand('Delete', true);
33 shouldBe('document.querySelectorAll("p.li").length', '5'); 33 shouldBe('document.querySelectorAll("p.li").length', '5');
34 if (window.testRunner) 34 if (window.testRunner)
35 $('container').outerHTML = ''; 35 $('container').outerHTML = '';
36 </script> 36 </script>
37 <script src="../../fast/js/resources/js-test-post.js"></script>
38 </body> 37 </body>
39 </html> 38 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/deleting/delete-listitem-003.html ('k') | LayoutTests/editing/deleting/delete-svg-001.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698