blob: 8897d9d6afe8ad40462b221c1be488f7ff825d79 [file] [log] [blame]
<!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&#x202E;</body>