blob: 68d834b62f03061bf40a5cd9809f6156d4894095 [file] [log] [blame]
<html>
<head>
<title></title>
</head>
<body>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=10144">http://bugs.webkit.org/show_bug.cgi?id=10144</a>
REGRESSION: Reproducible assertion failure in DeleteSelectionCommand::fixupWhitespace()</i>.
</p>
<div id="you" style="height: 100px; white-space: pre-wrap; -webkit-user-modify: read-write;">
<br></div>
<script>
var div = document.getElementById("you");
var selection = window.getSelection();
selection.setPosition(div, 2);
document.execCommand("Delete");
</script>
</body>