blob: e4ab1b0e3f2bf3ee353d2049c15639d83573960f [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<blockquote type="cite">
<div id="test" contenteditable><blockquote type="cite">hello world</blockquote></div>
</blockquote>
<script src="../../resources/dump-as-markup.js"></script>
<script>
var test = document.getElementById('test');
window.getSelection().setPosition(test.firstChild.firstChild, 5);
document.execCommand('InsertNewlineInQuotedContent', false, null);
Markup.description('This test ensures WebKit properly inserts newline in quoted contents, which is enclosed by a non-editable blockquote.');
Markup.dump(test);
</script>
</body>
</html>