layout/reftests/bugs/386401-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/386401-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     1.5 +  "http://www.w3.org/TR/html4/strict.dtd">
     1.6 +<html lang="en-US" class="reftest-wait">
     1.7 +<head>
     1.8 +  <title>Testcase, bug 386401</title>
     1.9 +  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    1.10 +  <meta http-equiv="Content-Style-Type" content="text/css">
    1.11 +  <meta http-equiv="Content-Script-Type" content="text/javascript">
    1.12 +  <style type="text/css">
    1.13 +
    1.14 +  table { border-spacing: 2px; width: 30em; }
    1.15 +  td { border: 1px solid; padding: 2px; }
    1.16 +  tbody { overflow: scroll; }
    1.17 +
    1.18 +  </style>
    1.19 +  <script type="text/javascript">
    1.20 +
    1.21 +  function run() {
    1.22 +    setTimeout(run2, 0);
    1.23 +  }
    1.24 +
    1.25 +  function run2() {
    1.26 +    var t = document.getElementById("grow").firstChild;
    1.27 +    t.data = "A really big header.";
    1.28 +    document.documentElement.className = "";
    1.29 +  }
    1.30 +
    1.31 +  </script>
    1.32 +</head>
    1.33 +<body onload="run()">
    1.34 +
    1.35 +<table>
    1.36 +  <thead><tr><td>Header</td><td id="grow">Header</td><td>Header</td></tr></thead>
    1.37 +  <tfoot><tr><td>Footer</td><td>Footer</td><td>Footer</td></tr></tfoot>
    1.38 +  <tbody>
    1.39 +    <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    1.40 +    <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    1.41 +    <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    1.42 +    <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    1.43 +    <tr><td>Cell</td><td>Cell</td><td>Cell</td></tr>
    1.44 +  </tbody>
    1.45 +</table>
    1.46 +
    1.47 +</body>
    1.48 +</html>

mercurial