Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / outdent-break-with-style.html
1 <!DOCTYPE html>
2 <html>
3 <body contenteditable></body>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <script>
6             
7 if (window.testRunner)
8     testRunner.dumpAsText();
9
10 while (script = document.querySelector('script'))
11     script.parentNode.removeChild(script);
12
13 getSelection().collapse(document.body, 0);
14 document.execCommand("InsertImage",false);
15 document.execCommand("Indent");
16 document.execCommand("Bold");
17 document.execCommand("InsertLineBreak");
18 document.execCommand("Outdent");
19
20 Markup.description('This test outdents an empty paragraph with inline style.');
21 Markup.dump(document.body);
22             
23 </script>
24
25 </html>