upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / 4786404-2.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../resources/dump-as-markup.js"></script>
5 <div id="container"><div id="div" contenteditable="true"><u>foo</u> bar baz</div></div>
6 <script>
7 var div = document.getElementById("div");
8 div.focus();
9
10 document.execCommand("SelectAll");
11 document.execCommand("RemoveFormat");
12
13 Markup.description('This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on. "foo bar baz" should not have underline.');
14 Markup.dump('container');
15
16 </script>
17 </body>
18 </html>