| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <style> | 3 <style> |
| 4 body:first-letter { color: black; } | 4 body:first-letter { color: black; } |
| 5 </style> | 5 </style> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function run() { | 8 function run() { |
| 9 document.execCommand('findString', false, '!ABC'); | 9 document.execCommand('findString', false, '!ABC'); |
| 10 document.body.innerHTML = '<br>This test ensures WebKit does not crash when
first-letter rule is applied to LTR letters that ' + | 10 document.body.innerHTML = '<br>This test ensures WebKit does not crash when
first-letter rule is applied to LTR letters that ' + |
| 11 ' are not visually contiguous to each other.<br>PASS'; | 11 ' are not visually contiguous to each other.<br>PASS'; |
| 12 if (window.layoutTestController) | 12 if (window.layoutTestController) |
| 13 layoutTestController.dumpAsText(); | 13 layoutTestController.dumpAsText(); |
| 14 } | 14 } |
| 15 | 15 |
| 16 </script> | 16 </script> |
| 17 <body style="direction: rtl;" onload="run()">!ABC‮</body> | 17 <body style="direction: rtl;" onload="run()">!ABC‮</body> |
| OLD | NEW |