blob: 9fc9933745f848ae1221839a3808a7697dfec178 [file] [log] [blame]
adele@apple.comd6b05942009-09-25 18:55:42 +00001<html>
2 <head>
3 <script>
4 function test()
5 {
rniwa@webkit.org14f6b5b2012-06-13 08:51:53 +00006 if (window.testRunner)
7 testRunner.dumpAsText();
adele@apple.comd6b05942009-09-25 18:55:42 +00008
9 window.getSelection().setPosition(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()">
commit-queue@webkit.orgf7ff6e62012-05-01 02:09:08 +000018 <div id="dv" contenteditable><span style="background-color: lightgrey">lightgrey background <font color="blue">blue font color over lightgrey background</font></span>
adele@apple.comd6b05942009-09-25 18:55:42 +000019</div>
20 </body>
21</html>