upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / insert-line-break-onload.html
1 <!DOCTYPE HTML>
2 <html>
3 <body onload="go()">
4 Test InsertLineBreak is called correctly without any exception.
5 <script>
6 function go() {
7     document.designMode="on";
8     document.write("</");
9     document.getSelection().addRange(document.createRange());
10     document.execCommand("InsertLineBreak");
11
12     var result = "PASS";
13     if (window.layoutTestController) {
14         document.write("<html>" + result + "<html>");
15         layoutTestController.dumpAsText();
16     } else
17         document.write("<html>" + result + "<html>");
18 }
19 </script>
20 </body>
21 </html>