<!DOCTYPE html> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
window.onload = function() { | |
document.getElementById('object').appendChild(document.getElementById('meta')); | |
document.execCommand('FindString', 'test'); | |
}; | |
</script> | |
<style> | |
caption:first-line { visibility: hidden; } | |
caption:first-letter { color: red; } | |
</style> | |
<p> | |
The test passes if it does not CRASH in debug builds. | |
<meta id="meta"/> | |
<object id="object"> | |
<table> | |
<caption dir="rtl"> | |
)TQ? | |
</caption> | |
</table> | |
</object> | |
</p> | |
<p></p> |