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

Side by Side Diff: LayoutTests/editing/selection/user-select-none-in-editable.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 <style> 1 <style>
2 .user-select-none { 2 .user-select-none {
3 -webkit-user-select: none; 3 -webkit-user-select: none;
4 -khtml-user-select: none; 4 -khtml-user-select: none;
5 -moz-user-select: none; 5 -moz-user-select: none;
6 -ms-user-select: none; 6 -ms-user-select: none;
7 -o-user-select: none; 7 -o-user-select: none;
8 user-select: none; 8 user-select: none;
9 } 9 }
10 </style> 10 </style>
(...skipping 19 matching lines...) Expand all
30 var selection = window.getSelection(); 30 var selection = window.getSelection();
31 selection.setPosition(sample1, 1); 31 selection.setPosition(sample1, 1);
32 selection.modify('move', 'forward', 'character'); 32 selection.modify('move', 'forward', 'character');
33 selection.modify('move', 'forward', 'character'); 33 selection.modify('move', 'forward', 'character');
34 shouldBe('selection.focusNode', 'sample2.firstChild'); 34 shouldBe('selection.focusNode', 'sample2.firstChild');
35 shouldBe('selection.focusOffset', '2'); 35 shouldBe('selection.focusOffset', '2');
36 36
37 if (window.testRunner) 37 if (window.testRunner)
38 $('container').outerHTML = ''; 38 $('container').outerHTML = '';
39 </script> 39 </script>
40 <script src="../../fast/js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698