upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 6355786.html
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.layoutTestController)
8     window.layoutTestController.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>