OLD | NEW |
1 <head> | 1 <head> |
2 <style> | 2 <style> |
3 #sample { | 3 #sample { |
4 -webkit-user-select: none; | 4 -webkit-user-select: none; |
5 user-select: none; | 5 user-select: none; |
6 } | 6 } |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <script src="../js/resources/js-test-pre.js"></script> | 10 <script src="../js/resources/js-test-pre.js"></script> |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 var sample = $('sample'); | 24 var sample = $('sample'); |
25 sample.focus(); | 25 sample.focus(); |
26 sample.select(); | 26 sample.select(); |
27 shouldBe('sample.selectionStart', '0'); | 27 shouldBe('sample.selectionStart', '0'); |
28 shouldBe('sample.selectionEnd', 'sample.value.length'); | 28 shouldBe('sample.selectionEnd', 'sample.value.length'); |
29 | 29 |
30 if (window.testRunner) | 30 if (window.testRunner) |
31 $('container').outerHTML = ''; | 31 $('container').outerHTML = ''; |
32 </script> | 32 </script> |
33 <script src="../js/resources/js-test-post.js"></script> | |
34 </body> | 33 </body> |
OLD | NEW |