blob: fc80bd38b1405d3b248914c409d80ec400f468ec [file] [log] [blame]
<p>This is a test for 8250. The khtmlBeforeTextInserted event handler wasn't being told about interchange newlines. You shouldn't see anything in the text field.</p>
<input id="test" type="text">
<script>
var e = document.getElementById("test");
e.focus();
e.setSelectionRange(0, 0);
document.execCommand("InsertHTML", false, "<br class='Apple-interchange-newline'>foo");
</script>