layout/reftests/bugs/503531-1-ref.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 <html class="reftest-wait"><head>
michael@0 2 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
michael@0 3 <title>Testcase #1 for bug 503531</title>
michael@0 4 <script>
michael@0 5 function boom() {
michael@0 6 var caret = document.getElementById('caret');
michael@0 7
michael@0 8 var sel = window.getSelection();
michael@0 9 sel.removeAllRanges();
michael@0 10 var range = document.createRange();
michael@0 11 range.selectNode(caret);
michael@0 12 sel.addRange(range);
michael@0 13 sel.collapseToStart();
michael@0 14
michael@0 15 setTimeout(function(){document.documentElement.className = '';}, 50)
michael@0 16 }
michael@0 17 </script>
michael@0 18 </head>
michael@0 19 <body contenteditable="true" onload="document.body.focus(); boom()">
michael@0 20 <div>BLOCK</div>
michael@0 21 <div id="caret"></div>
michael@0 22 </body>
michael@0 23 </html>

mercurial