Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / indent-images-3.html
1 <!DOCTYPE html>
2 <html>
3 <body><span contenteditable><img><img></span>
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('span')[0], 2);
14 document.execCommand('indent');
15
16 Markup.description('This test indents insides a document with exactly two image elements.\n'
17 + 'Indentation should succeed even if the root editable element is inline.');
18 Markup.dump(document.body);
19
20 </script>
21 </body>
22 </html>