<!DOCTYPE html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

onload = function() {
    document.execCommand('SelectAll');
    document.execCommand('JustifyCenter');
    document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
}
</script>
</head>
<body contenteditable="true">
<canvas contenteditable="false">text</canvas><b></b>
<textarea></textarea>
</body>
</html>
