Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / insert-bg-font.html
1 <html>
2     <head>
3         <script>
4             function test()
5             {
6                 if (window.testRunner)
7                     testRunner.dumpAsText();
8
9                 window.getSelection().collapse(document.getElementById('dv'), 1);
10                 document.execCommand("InsertParagraph");
11                 document.execCommand("InsertText", false, "this should also be blue over lightgrey");
12
13                 document.write("<xmp>" + document.body.innerHTML + "</xmp>");
14             }
15         </script>
16     </head>
17     <body onload="test()">
18         <div id="dv" contenteditable><span style="background-color: lightgrey">lightgrey background <font color="blue">blue font color over lightgrey background</font></span> 
19 </div>
20     </body>
21 </html>