blob: 1d4f589020a7eda5875cccd5903a01a7afa907e0 [file] [log] [blame]
<html>
<head>
<style>
* { -webkit-user-select:none; }
</style>
</head>
<body>
<div id="description">This tests for a crash when deleting inside an empty list item that is an editable root.</div>
<div><dl><dd id="dd" contenteditable="true" style="-webkit-user-select:text;">Hello</dd></dl></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
dd = document.getElementById("dd");
dd.focus();
document.execCommand("SelectAll");
document.execCommand("Delete");
document.execCommand("Delete");
</script>
</body>
</html>