| <!DOCTYPE html> | |
| <html> | |
| <style> | |
| body:first-letter { color: black; } | |
| </style> | |
| <script> | |
| function run() { | |
| document.execCommand('findString', false, '!ABC'); | |
| document.body.innerHTML = '<br>This test ensures WebKit does not crash when first-letter rule is applied to LTR letters that ' + | |
| ' are not visually contiguous to each other.<br>PASS'; | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| } | |
| </script> | |
| <body style="direction: rtl;" onload="run()">!ABC‮</body> |