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

Side by Side Diff: LayoutTests/editing/text-iterator/findString-start-search-after-selection.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months 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 <link rel="stylesheet" href="../../../../fast/js/resources/js-test-style.css"> 4 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
5 <script src=../../../../fast/js/resources/js-test-pre.js language="javascript" t ype="text/javascript"></script> 5 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t ext/javascript"></script>
6 <title>Testing that searching for text starts at the active selection</title> 6 <title>Testing that searching for text starts at the active selection</title>
7 </head> 7 </head>
8 <body> 8 <body>
9 <div id="container"> 9 <div id="container">
10 The _before_selection_ word is before the selection, so we shouldn't be able to find it if span_to_select is selected. 10 The _before_selection_ word is before the selection, so we shouldn't be able to find it if span_to_select is selected.
11 <br/> 11 <br/>
12 <span id="span_to_select">The _in_selection_ word is in the selection an d we should always be able to find it.</span> 12 <span id="span_to_select">The _in_selection_ word is in the selection an d we should always be able to find it.</span>
13 <br/> 13 <br/>
14 The _after_selection_ word is after the selection and we should always b e able to find that too. 14 The _after_selection_ word is after the selection and we should always b e able to find that too.
15 </div> 15 </div>
(...skipping 26 matching lines...) Expand all
42 42
43 shouldBeFalse('testRunner.findString("_before_selection_", [])'); 43 shouldBeFalse('testRunner.findString("_before_selection_", [])');
44 shouldBeTrue('testRunner.findString("_in_selection_", [])'); 44 shouldBeTrue('testRunner.findString("_in_selection_", [])');
45 shouldBeTrue('testRunner.findString("_after_selection_", [])'); 45 shouldBeTrue('testRunner.findString("_after_selection_", [])');
46 } 46 }
47 47
48 document.getElementById("console").style.removeProperty("visibility"); 48 document.getElementById("console").style.removeProperty("visibility");
49 49
50 var successfullyParsed = true; 50 var successfullyParsed = true;
51 </script> 51 </script>
52 <script src="../../../../fast/js/resources/js-test-post.js"></script> 52 <script src="../../fast/js/resources/js-test-post.js"></script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698