| 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"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 <script src="resources/util.js"></script> | 5 <script src="resources/util.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <div id="container"> | 8 <div id="container"> |
| 9 <input type="text" id="destination"/> | 9 <input type="text" id="destination"/> |
| 10 </div> | 10 </div> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 // Context click should select correctly spelled words only with "win" e
diting behavior. | 42 // Context click should select correctly spelled words only with "win" e
diting behavior. |
| 43 if (behaviors[i] == "mac") | 43 if (behaviors[i] == "mac") |
| 44 shouldBeEqualToString("window.getSelection().toString()", "home"); | 44 shouldBeEqualToString("window.getSelection().toString()", "home"); |
| 45 else | 45 else |
| 46 shouldBeEqualToString("window.getSelection().toString()", ""); | 46 shouldBeEqualToString("window.getSelection().toString()", ""); |
| 47 window.getSelection().removeAllRanges(); | 47 window.getSelection().removeAllRanges(); |
| 48 } | 48 } |
| 49 }); | 49 }); |
| 50 | 50 |
| 51 </script> | 51 </script> |
| 52 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 53 </body> | 52 </body> |
| 54 </html> | 53 </html> |
| OLD | NEW |