OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 .parent, .child { | 6 .parent, .child { |
7 -moz-user-select: none; | 7 -moz-user-select: none; |
8 -webkit-user-select: none; | 8 -webkit-user-select: none; |
9 } | 9 } |
10 .child { | 10 .child { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 shouldNotBe("doubleClick(); document.getSelection()",'"Foo"'); | 51 shouldNotBe("doubleClick(); document.getSelection()",'"Foo"'); |
52 | 52 |
53 shouldBe('document.getSelection().removeAllRanges(); document.getSelection()
.toString().indexOf("Foo")','-1'); | 53 shouldBe('document.getSelection().removeAllRanges(); document.getSelection()
.toString().indexOf("Foo")','-1'); |
54 | 54 |
55 shouldBe('tripleClick(); document.getSelection().toString().indexOf("Foo")',
'-1'); | 55 shouldBe('tripleClick(); document.getSelection().toString().indexOf("Foo")',
'-1'); |
56 } else { | 56 } else { |
57 debug("To test manually, double/triple click on 1/2/3/4 and it should not se
lect Foo"); | 57 debug("To test manually, double/triple click on 1/2/3/4 and it should not se
lect Foo"); |
58 } | 58 } |
59 successfullyParsed = true; | 59 successfullyParsed = true; |
60 </script> | 60 </script> |
61 <script src="../js/resources/js-test-post.js"></script> | |
62 </body> | 61 </body> |
63 </html> | 62 </html> |
OLD | NEW |