blob: 20bc1a02f34fab4cafb868cdf23b058d1828a45f [file] [log] [blame]
This tests pasting a multi-line text into a textarea that contains a single new line. WebKit should preserve the number of new lines.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.execCommand('InsertHTML', false, 'first<br><br>third'); textarea.value is 'first\n\nthird\n'
PASS successfullyParsed is true
TEST COMPLETE