upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 4920742-1.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <div id="div" contenteditable="true"><b>foo</b><div><br></div><div><br></div></div>
6 <script>
7
8 var div = document.getElementById("div");
9 div.focus();
10 document.execCommand("SelectAll");
11 document.execCommand("RemoveFormat");
12
13 Markup.description('This tests for a bug where RemoveFormat would reverse the order of paragraphs. Bug: the caret is not on the last line but it should be.');
14 Markup.dump(div);
15
16 </script>
17 </body>
18 </html>