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.

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

mercurial