blob: 5c010ab6e685b5aee714acb9fdb91071cc3b03af [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div contenteditable="true">
<blockquote id="test" style="display: inline">This text is needed for crash.
<!-- Following div should have at least one character to crash. -->
<div>_</div>
</blockquote>
</div>
<div id="log"></div>
<script>
test(function() {
window.getSelection().collapse(document.getElementById('test'), 0);
document.execCommand('Outdent');
}, 'Outdent command should not crash with BLOCKQUOTE with display:inline');
</script>