editor/reftests/388980-1-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial