Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-bg-font.html
blob1984abada18b5548eeff4f80e46844e9be800485
1 <html>
2 <head>
3 <script>
4 function test()
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 window.getSelection().collapse(document.getElementById('dv'), 1);
10 document.execCommand("InsertParagraph");
11 document.execCommand("InsertText", false, "this should also be blue over lightgrey");
13 document.write("<xmp>" + document.body.innerHTML + "</xmp>");
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>