blob: 3543d2e076e9c53ee9e9ea40da807530d1ac57d6 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/dump-as-markup.js"></script>
<div id="editor" contenteditable><img src="../resources/abe.png"></div>
<script>
Markup.description('Test indenting an image element twice.');
var editor = document.getElementById('editor');
editor.focus();
document.execCommand('SelectAll', false, null);
Markup.dump(editor, 'Initial state');
document.execCommand('Indent', false, null);
Markup.dump(editor, 'After indenting once');
document.execCommand('Indent', false, null);
Markup.dump(editor, 'After indenting again');
</script>
</body>
</html>