Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / 6355786.html
blob13fe188edf3a4023307b94c4b4ea58f490436f57
1 <body>
2 <div>This tests find with queries that contain line breaks, for text broken into paragraphs using brs, divs, and preserved newlines.</div>
3 <div id="find">test<br>over<br>brs<br><div>test</div><div>over</div><div>divs</div><pre>test
4 over
5 newlines</pre>
6 <script>
7 if (window.testRunner)
8 window.testRunner.dumpAsText();
9 if (!document.execCommand("FindString", false, "test\nover\nbrs"))
10 document.body.innerText = "Find with line breaks failed over brs.";
11 if (!document.execCommand("FindString", false, "test\nover\ndivs"))
12 document.body.innerText = "Find with line breaks failed over divs.";
13 if (!document.execCommand("FindString", false, "test\nover\nnewlines"))
14 document.body.innerText = "Find with line breaks failed over newlines.";
15 </script>
16 </body>