summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/zero-colspan-crash.html
blob: 2e512573811038690e2358aca5dc4b61a5ddbd79 (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.testRunner) {
            testRunner.dumpAsText();
            testRunner.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.testRunner)
                testRunner.notifyDone();
            document.getElementById("result").innerHTML = "<span style='color: green;'>PASS:</span> Did not crash.";
        }
    </script>
  </body>
</html>