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

Side by Side Diff: LayoutTests/fast/events/mouse-double-triple-click-should-not-select-next-node-for-user-select-none.html

Issue 58533003: Move fast/js/resources files to resources. (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 <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 {
11 visibility: hidden; 11 visibility: hidden;
12 } 12 }
13 </style> 13 </style>
14 <script src="../js/resources/js-test-pre.js"></script> 14 <script src="../../resources/js-test.js"></script>
15 </head> 15 </head>
16 <body> 16 <body>
17 <p> Mouse double/triple click on an element with "webkit-user-select none" shoul d not select the next node</p> 17 <p> Mouse double/triple click on an element with "webkit-user-select none" shoul d not select the next node</p>
18 <div> 18 <div>
19 <div class='parent'> 19 <div class='parent'>
20 <div id="second" class='child'>1</div> 20 <div id="second" class='child'>1</div>
21 <div class='child'>2</div> 21 <div class='child'>2</div>
22 <div class='child'>3</div> 22 <div class='child'>3</div>
23 <div class='child'>4</div> 23 <div class='child'>4</div>
24 </div> 24 </div>
(...skipping 28 matching lines...) Expand all
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 </body> 61 </body>
62 </html> 62 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/mouse-cursor-image-set.html ('k') | LayoutTests/fast/events/mouse-focus-imagemap.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698