| Index: LayoutTests/fast/table/border-recalc.html
|
| diff --git a/LayoutTests/fast/table/border-recalc.html b/LayoutTests/fast/table/border-recalc.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dfddaa456900eaa70aee13be2a0cff3b8fab5bef
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/table/border-recalc.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<table>
|
| +<tbody>
|
| +<tr><td>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| +</td></tr>
|
| +</tbody>
|
| +</table>
|
| +<script>
|
| +description("Check that we don't recalc table cell contents when presentation attributes change.");
|
| +
|
| +document.body.offsetTop; // Force layout.
|
| +document.getElementsByTagName("table")[0].setAttribute("border", "2");
|
| +if (window.internals)
|
| + shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "4");
|
| +</script>
|
|
|