OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src=../../fast/js/resources/js-test-pre.js language="javascript" type="t
ext/javascript"></script> | 4 <script src=../../resources/js-test.js language="javascript" type="text/javascri
pt"></script> |
5 <title>Testing that searching for text starts at the active selection</title> | 5 <title>Testing that searching for text starts at the active selection</title> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="container"> | 8 <div id="container"> |
9 The _before_selection_ word is before the selection, so we shouldn't be
able to find it if span_to_select is selected. | 9 The _before_selection_ word is before the selection, so we shouldn't be
able to find it if span_to_select is selected. |
10 <br/> | 10 <br/> |
11 <span id="span_to_select">The _in_selection_ word is in the selection an
d we should always be able to find it.</span> | 11 <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 <br/> | 12 <br/> |
13 The _after_selection_ word is after the selection and we should always b
e able to find that too. | 13 The _after_selection_ word is after the selection and we should always b
e able to find that too. |
14 </div> | 14 </div> |
(...skipping 28 matching lines...) Expand all Loading... |
43 shouldBeTrue('testRunner.findString("_in_selection_", [])'); | 43 shouldBeTrue('testRunner.findString("_in_selection_", [])'); |
44 shouldBeTrue('testRunner.findString("_after_selection_", [])'); | 44 shouldBeTrue('testRunner.findString("_after_selection_", [])'); |
45 } | 45 } |
46 | 46 |
47 document.getElementById("console").style.removeProperty("visibility"); | 47 document.getElementById("console").style.removeProperty("visibility"); |
48 | 48 |
49 var successfullyParsed = true; | 49 var successfullyParsed = true; |
50 </script> | 50 </script> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |