Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html b/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0f6dafe908ed037e7529e5d5ca6001bfe87ac21e |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/table/div-height-inside-auto-table-cell-is-auto.html |
| @@ -0,0 +1,27 @@ |
| +<!doctype html> |
| +<style> |
| +#parent { |
| + height: 100px; |
| + width: 100px; |
| +} |
| + |
| +#child { |
| + height: 100%; |
| + width: 100%; |
| + background: red; |
| +} |
| +</style> |
| + |
| +There should be no red square below. |
| +<table id="parent"> |
| + <tr> |
| + <td> |
| + <div id="child" data-expected-height="0"></div> |
| + </td> |
| + </tr> |
| +</table> |
| + |
| +<script src="../../resources/check-layout.js"></script> |
| +<script> |
| +checkLayout('#parent'); |
| +</script> |