layout/reftests/invalidation/table-repaint-b.html

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

     1 <!DOCTYPE html>
     2 <html class="reftest-wait"><head>
     3 <title>table-repaint-b-ref</title>
     4 <body>
     5 <table id="x">
     6 <tr>
     7   <td>aaa</td>
     8   <td>
     9    <span style="position: relative">
    10      <div style="height: 0px">
    11       <div style="height: 300px; width: 10px; background: green"></div>
    12      </div>bbb
    13   </td>
    14 </tr>
    15 </table>
    16 <script>
    17   function foo() {
    18     var t = document.getElementById("x");
    19     var r = document.createElement("tr");
    20     var c = document.createElement("td");
    21     c.appendChild(document.createTextNode("longer text: above this, first cell should say 'aaa' while second says 'bbb'.  There should be only one green rectangle."));
    22     r.appendChild(c);
    23     t.tBodies[0].appendChild(r);
    24     document.documentElement.removeAttribute("class");
    25   }
    26 document.addEventListener("MozReftestInvalidate", foo, false);
    27 </script>
    28 </body>
    29 </html>

mercurial