upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 5573879.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <div id="div" contenteditable="true"><ul><li>foo</li><li>bar</li></ul></div>
6 <script>
7
8 var div = document.getElementById("div");
9 div.focus();
10
11 document.execCommand("SelectAll");
12 document.execCommand("RemoveFormat");
13
14 Markup.description('This tests to make sure that RemoveFormat destroys lists if they are fully selected.'
15  + ' However, because the bug 43017 requires WebKit does not destroy lists, "foo" and "bar" should be in a separate list item.');
16 Markup.dump(div);
17
18 </script>
19 </body>
20 </html>