14 lines
322 B
HTML
14 lines
322 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<div contenteditable="true" id="target"><span></span></div>
|
|
</body>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
getSelection().collapse(document.getElementById('target'), 0);
|
|
document.execCommand('Indent');
|
|
document.body.textContent = 'Pass if not crash.';
|
|
</script>
|
|
</html>
|