| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta http-equiv="content-type" content="text/html; charset=utf-8"> | 4 <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| 5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../resources/js-test.js"></script> |
| 6 <style type="text/css"> | 6 <style type="text/css"> |
| 7 #tests { font-size: 2.5em; padding: 0px; margin: 0px; } | 7 #tests { font-size: 2.5em; padding: 0px; margin: 0px; } |
| 8 dt { width: 15ex; padding: 0px 10px; margin: 0px; } | 8 dt { width: 15ex; padding: 0px 10px; margin: 0px; } |
| 9 dd { font-size: 0.6em; margin: 0px; padding: 0px 10px; } | 9 dd { font-size: 0.6em; margin: 0px; padding: 0px 10px; } |
| 10 .target { background-color: #bbeeff; } | 10 .target { background-color: #bbeeff; } |
| 11 .targetContainer { position: absolute; left: 10px; top: 0px; z-index: -5; } | 11 .targetContainer { position: absolute; left: 10px; top: 0px; z-index: -5; } |
| 12 </style> | 12 </style> |
| 13 </head> | 13 </head> |
| 14 <body> | 14 <body> |
| 15 <p>This test ensures WebKit lets user select bidirectional text intuitively. | 15 <p>This test ensures WebKit lets user select bidirectional text intuitively. |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 debug('This test requires eventSender'); | 149 debug('This test requires eventSender'); |
| 150 document.onselectionchange = function () { | 150 document.onselectionchange = function () { |
| 151 document.getElementById('log').textContent = window.getSelection().toStr
ing().fold(); | 151 document.getElementById('log').textContent = window.getSelection().toStr
ing().fold(); |
| 152 } | 152 } |
| 153 } | 153 } |
| 154 | 154 |
| 155 | 155 |
| 156 </script> | 156 </script> |
| 157 </body> | 157 </body> |
| 158 </html> | 158 </html> |
| OLD | NEW |