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

Side by Side Diff: LayoutTests/fast/dom/shadow/selection-in-nested-shadow.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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <div id="container"> 8 <div id="container">
9 <div id="container1"><div id="host1"></div></div> 9 <div id="container1"><div id="host1"></div></div>
10 <div id="container2"><div id="host2"></div></div> 10 <div id="container2"><div id="host2"></div></div>
(...skipping 29 matching lines...) Expand all
40 debug('In this case, the anchor node of the selection should also become be the parent element of the removed element (container).'); 40 debug('In this case, the anchor node of the selection should also become be the parent element of the removed element (container).');
41 eventSender.mouseMoveTo(target2.offsetLeft + 2, target2.offsetTop + target2.offs etHeight / 2); 41 eventSender.mouseMoveTo(target2.offsetLeft + 2, target2.offsetTop + target2.offs etHeight / 2);
42 eventSender.mouseDown(); 42 eventSender.mouseDown();
43 eventSender.mouseMoveTo(target2.offsetLeft + target2.offsetWidth - 2, target2.of fsetTop + target2.offsetHeight / 2); 43 eventSender.mouseMoveTo(target2.offsetLeft + target2.offsetWidth - 2, target2.of fsetTop + target2.offsetHeight / 2);
44 eventSender.mouseUp(); 44 eventSender.mouseUp();
45 container.removeChild(container2); 45 container.removeChild(container2);
46 shouldBe('window.getSelection().anchorNode', 'container'); 46 shouldBe('window.getSelection().anchorNode', 'container');
47 debug(''); 47 debug('');
48 </script> 48 </script>
49 49
50 <script src="../../js/resources/js-test-post.js"></script>
51 </body> 50 </body>
52 51
53 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698