layout/reftests/table-anonymous-boxes/368932-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-anonymous-boxes/368932-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <script type="text/javascript">
     1.8 +    function doTest() {
     1.9 +      for (var i = 0; i < 10; ++i) {
    1.10 +        // clear target element's content
    1.11 +        document.getElementById("target-table").innerHTML = "";
    1.12 +        // clone and append new row
    1.13 +        cloned_row = document.getElementById("row-template").cloneNode(true);
    1.14 +        document.getElementById("target-table").appendChild(cloned_row);
    1.15 +        document.body.offsetWidth;
    1.16 +      }
    1.17 +    }
    1.18 +    </script>
    1.19 +</head>
    1.20 +<body onload="doTest()">
    1.21 +    <table><tr id="row-template"><td>cloning material</td></tr></table>
    1.22 +    <table id="target-table"><tr><td>target table</td></tr></table>
    1.23 +</body>
    1.24 +</html>

mercurial