layout/reftests/selection/splitText-normalize.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <!--
     4 https://bugzilla.mozilla.org/show_bug.cgi?id=191864
     5 -->
     6 <head>
     7   <title>Test for Bug 191864</title>
     8   <script type="application/javascript;version=1.7" src="splitText-normalize.js"></script>
     9 <script type="application/javascript;version=1.7">
    10 var id;
    11 function checkFinished() {
    12   if (window.frames.length == tests_done) {
    13     clearInterval(id);
    14     document.documentElement.className = "";
    15   }
    16 }
    18 function runTest() {
    19   let col1 = document.getElementById('col1');
    20   let col2 = document.getElementById('col2');
    21   let col3 = document.getElementById('col3');
    22   let col4 = document.getElementById('col4');
    23   for (let i=0; i < tests.length; ++i) {
    24     let t = tests[i];
    25     col1.appendChild(createFrame(test_split,t));
    26     col2.appendChild(createFrame(test_split_merge,t));
    27     col3.appendChild(createFrame(test_merge,t));
    28     col4.appendChild(createFrame(test_split_insert,t));
    29   }
    30   id = setInterval(checkFinished,500);
    31 }
    32 </script>
    33 </head>
    34 <body onload="runTest()">
    35 <span id="col1" style="float:left; height:800px; width:180px;"></span>
    36 <span id="col2" style="float:left; height:800px; width:180px;"></span>
    37 <span id="col3" style="float:left; height:800px; width:180px;"></span>
    38 <span id="col4" style="float:left; height:800px; width:180px;"></span>
    39 </body>
    40 </html>

mercurial