| Index: LayoutTests/fast/table/fixed-table-layout-width-change.html
|
| diff --git a/LayoutTests/fast/table/fixed-table-layout-width-change.html b/LayoutTests/fast/table/fixed-table-layout-width-change.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bc800d9858eb8183c8cb264be09da7e4ac3274d7
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/table/fixed-table-layout-width-change.html
|
| @@ -0,0 +1,32 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <script type="text/javascript">
|
| + function runTest() {
|
| + var outer = document.getElementById('outer');
|
| + outer.style.width = '100px';
|
| + window.checkLayout("#outer", document.getElementById("test-output"));
|
| + };
|
| + </script>
|
| + <script src="../../resources/check-layout.js"></script>
|
| + <style>
|
| + #outer {
|
| + display: table;
|
| + table-layout: fixed;
|
| + }
|
| + #inner {
|
| + display: table-cell;
|
| + height: 50px;
|
| + background-color: green;
|
| + min-width: 200px;
|
| + }
|
| + </style>
|
| + </head>
|
| + <body onload="runTest()">
|
| + Tests that the table width having table-layout fixed changes when width is changed dynamically.
|
| + <div id="outer" data-expected-width="100">
|
| + <div id="inner"></div>
|
| + </div>
|
| + <div id="test-output"></div>
|
| + </body>
|
| +</html>
|
|
|