Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / indent-images-2.html
1 <!DOCTYPE html>
2 <html>
3 <body><div contenteditable><img><img></div>
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.getElementsByTagName('div')[0], 2);
14 document.execCommand('indent');
15
16 Markup.description('This test indents insides a document with exactly two image elements.');
17 Markup.dump(document.body);
18
19 </script>
20 </body>
21 </html>