4 <p>Bug
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=88676">88676</a>: Crash in TableLayoutAlgorithmFixed::layout.
</p>
5 <p id=
"console">FAILED, the test didn't run
</p>
8 testRunner
.dumpAsText();
28 for (var i
= 0; i
< tableParts
.length
; ++i
) {
29 for (var j
= 0; j
< childTypes
.length
; ++j
) {
30 document
.body
.appendChild(document
.createElement("pre")).appendChild(document
.createTextNode("Prepending " + childTypes
[j
] + " to " + tableParts
[i
] + ":"));
31 var container
= document
.createElement("table");
32 container
.style
.tableLayout
= "fixed";
33 container
.width
= "1";
34 var tablePart
= document
.createElement("div");
35 tablePart
.style
.display
= tableParts
[i
];
36 container
.appendChild(tablePart
);
37 document
.body
.appendChild(container
);
38 document
.body
.offsetTop
;
39 var newChild
= document
.createElement("div");
40 newChild
.style
.display
= childTypes
[j
];
41 container
.insertBefore(newChild
, tablePart
);
42 document
.body
.offsetTop
;
43 // The above should have the same render tree as you get when
44 // you do it all at once, like this:
45 document
.body
.appendChild(container
.cloneNode(true));
46 document
.body
.offsetTop
;
50 document
.getElementById("console").innerHTML
= "PASSED, the test didn't crash.";