Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-plaintext-nowrap.html
blobec36da337ae3fb1a17fd4684c4ef82ab13203a0b
1 <body>
2 <p>Copying and pasting the text below in place should not crash.</p>
3 <textarea id="test" style="white-space:nowrap">line1
4 line2
5 </textarea>
6 <p id="results">FAILED</p>
7 </body>
8 <script src="../editing.js"></script>
9 <script>
10 function editingTest()
12 document.getElementById("test").focus();
13 execSelectAllCommand();
14 execCopyCommand();
15 execPasteCommand();
16 document.getElementById("results").innerText = "PASSED";
19 runDumpAsTextEditingTest(false);
20 </script>