upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / outdent-inline-blockquote.html
1 <html>
2 <body contenteditable="true">
3 <br>
4 <blockquote id="test" style="display: inline">Executing Outdent on an inline blockquote that is not the first element in the document should not crash.</blockquote>
5 <p id="console"></p>
6 <script>
7 if (window.layoutTestController)
8     layoutTestController.dumpAsText();
9
10 function log(message) {
11     var console = document.getElementById("console");
12     var text = document.createTextNode(message);
13     console.appendChild(text);
14 }
15
16 var s = window.getSelection();
17 var p1 = document.getElementById("test");
18 s.setPosition(p1, 0);
19 document.execCommand("Outdent", false, 0);
20 log("Test passed: no crash");
21
22 </script>
23 </body>
24 </html>