Adding test for bug 302113.

This commit is contained in:
Boris Zbarsky 2009-03-25 17:34:28 -04:00
parent 6457c82e1d
commit bf2bcf4630
3 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<body>
<span style="display: table">
<span style="display: table-row">
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
</span>
<span style="display: table-row">
<span style="display: block" id="t">Which column?</span>
</span>
</span>
</body>
</html>

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
var t = document.getElementById("t");
for (var i = 0; i < 5; ++i) {
document.body.offsetWidth;
t.style.display = "none";
document.body.offsetWidth;
t.style.display = "block";
}
document.documentElement.className = "";
}
</script>
</head>
<body onload="doTest()">
<span style="display: table">
<span style="display: table-row">
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
<span style="display: table-cell">
Cell
</span>
</span>
<span style="display: table-row">
<span style="display: block" id="t">Which column?</span>
</span>
</span>
</body>
</html>

View File

@ -6,6 +6,7 @@ fails == 156888-1.html 156888-1-ref.html # bug 484825
== 208305-1.html 208305-1-ref.html
== 277995-1.html 277995-1-ref.html
== 293576-1.html 293576-1-ref.html
== 302113-1.html 302113-1-ref.html
== 315146-1.xhtml 315146-1-ref.xhtml
== 338735-1.html 338735-1-ref.html
== 339388-1a.html 339388-1-ref.html