| OLD | NEW |
| 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 Loading... |
| 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> | |
| OLD | NEW |