Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-3.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-3.html b/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-3.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..692681767272b5f9ef7ac066fa1ee9cfe2490511 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-3.html |
| @@ -0,0 +1,27 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +table { |
| + height: 100%; |
| + width: 100%; |
| +} |
| +</style> |
| +<p> crbug.com/691968: There should be no scrollbar. </p> |
| +<div id="container" style="width: 400px; height: 400px; overflow: auto; overflow-x: hidden;"> |
| + <table id="table" data-expected-height=200> |
| + <colgroup> |
| + <col style="width: 1161px;"> |
| + </colgroup> |
| + <tbody> |
| + <tr> |
| + <td></td> |
| + </tr> |
| + </tbody> |
| + </table> |
| +</div> |
| +<div id="results"></div> |
| +<script src="../../resources/check-layout.js"></script> |
|
mstensho (USE GERRIT)
2017/02/20 13:01:31
Better use check-layout-th.js, to eliminate the -e
|
| +<script> |
| +document.body.offsetTop; |
| +document.getElementById("container").style.height = "200px"; |
| +checkLayout('#table', results); |
| +</script> |