layout/reftests/bugs/262998-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html class="reftest-wait">
michael@0 3 <body onload="setTimeout(doTest,0);">
michael@0 4
michael@0 5 <iframe id="edit" style="display:none;" src=""></iframe>
michael@0 6
michael@0 7 <script>
michael@0 8 var x=document.getElementById('edit');
michael@0 9 function doTest(){
michael@0 10 x.style.display='block';
michael@0 11 x.contentDocument.body.innerHTML="This is a test";
michael@0 12 x.contentDocument.designMode='on';
michael@0 13 x.contentDocument.execCommand("selectAll", false, "");
michael@0 14 x.contentDocument.execCommand("bold", false, "");
michael@0 15 x.contentDocument.execCommand("justifyCenter", false, "");
michael@0 16 x.contentWindow.getSelection().removeAllRanges();
michael@0 17 document.documentElement.className = "";
michael@0 18 }
michael@0 19 </script>
michael@0 20 </body>
michael@0 21 </html>

mercurial