Chromium Code Reviews| Index: LayoutTests/fast/table/empty-cells-and-percentage-width-content.html |
| diff --git a/LayoutTests/fast/table/empty-cells-and-percentage-width-content.html b/LayoutTests/fast/table/empty-cells-and-percentage-width-content.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..017e4c892d82eadc2ea69f3af31d130840fc3071 |
| --- /dev/null |
| +++ b/LayoutTests/fast/table/empty-cells-and-percentage-width-content.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +.container{width:170px;height:19px} |
| +.input{border:none; padding: 0; width: 100%; margin: 0; background-color: blue;} |
| +.count{padding:0 8px 0 4px;} |
| +</style> |
| +<script src="../../resources/check-layout.js"></script> |
| +<div class="container"> |
| + <table cellpadding="0"> |
| + <tr> |
| + <td> |
| + <input type="text" class="input"> |
| + </td> |
| + <td class="count" data-expected-width=12></td> |
| + </tr> |
| + </table> |
| +</div> |
| +<p> crbug.com/497759: Cells with replaced content should get the right width. </p> |
| +<div id="console"></div> |
| +<script> |
| + checkLayout('td', document.getElementById('console')); |
|
mstensho (USE GERRIT)
2015/06/16 18:44:39
The first TD in this document has no expectations,
|
| +</script> |