summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/zero-colspan-crash.html
blob: 04a596e51da7099193e350f0768fbe73cc22731e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html>
  <head>
    <style type="text/css">
        table
        {
            table-layout: fixed;
            width: 1px;
        }
    </style>
    <script>
        if (window.layoutTestController) {
            layoutTestController.dumpAsText();
            layoutTestController.waitUntilDone();
        }
    </script>
  </head>
  <body onload="finish()">
    This test is to ensure that we do not crash while rendering a fixed table layout.
    <div id="result"><span style='color: red;'>FAIL:</span> Did not complete test</div>
    <table>
      <td width="1"></td>
      <td colspan="65536"></td>
    </table>
    <script>
        function finish()
        {
            if (window.layoutTestController)
                layoutTestController.notifyDone();
            document.getElementById("result").innerHTML = "<span style='color: green;'>PASS:</span> Did not crash.";
        }
    </script>
  </body>
</html>