<!DOCTYPE html>
<html>
<body contenteditable="true">
Test passes if it does not crash.<br/>
a<ruby>b<rt>c</rt></ruby>d
<script>
if (window.testRunner)
    testRunner.dumpAsText();

document.execCommand("SelectAll");
</script>
</body>
</html>

