editor/reftests/388980-1-ref.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:febc0b2833f1
1 <html>
2 <head>
3 <title>Reftest for bug 388980</title></html>
4 <script type="text/javascript">
5
6 var text = '<html><head></head><body style="font-size:16px;">'
7 + '<p><span style="background-color:red;">This paragraph should be red</span></p>'
8 + '<p><span style="background-color:blue;">This paragraph should be blue</span></p>'
9 + '<p>This paragraph should not be colored</p>'
10 + '</body></html>';
11
12 function initIFrame() {
13 var doc = document.getElementById('theIFrame').contentDocument;
14 doc.designMode = 'on';
15 doc.open('text/html');
16 doc.write(text);
17 doc.close();
18 }
19 </script>
20 </head>
21 <body onload="initIFrame()" >
22 <iframe id="theIFrame">
23 </iframe>
24 </body>
25 </html>

mercurial