editor/reftests/388980-1-ref.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <html>
     2 <head>
     3 <title>Reftest for bug 388980</title></html>
     4 <script type="text/javascript">
     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>';
    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