| Index: LayoutTests/fast/table/resize-table-width-using-col-width.html
|
| diff --git a/LayoutTests/fast/table/resize-table-width-using-col-width.html b/LayoutTests/fast/table/resize-table-width-using-col-width.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..484d3786c39ac24d0f2a3d9e9c62a4d4fa3d4bea
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/table/resize-table-width-using-col-width.html
|
| @@ -0,0 +1,25 @@
|
| +<style>
|
| + col { width: 200px; }
|
| + td { background-color: #66f; height: 25px; }
|
| +</style>
|
| +<script type="text/javascript">
|
| + onload = function () {
|
| + var col = document.getElementById('thecol');
|
| + col.offsetTop;
|
| + col.style.width="100px";
|
| + checkLayout("td", document.getElementById("test-output"));
|
| + }
|
| +</script>
|
| +<script src="../../resources/check-layout.js"></script>
|
| +Tests that the width of table cell changes on changing the colgroup width to new width.
|
| +<table>
|
| + <colgroup>
|
| + <col id="thecol">
|
| + </colgroup>
|
| + <tbody>
|
| + <tr>
|
| + <td data-expected-width="100"></td>
|
| + </tr>
|
| + </tbody>
|
| +</table>
|
| +<div id="test-output"></div>
|
|
|