Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 .container{width:170px;height:19px} | |
| 4 .input{border:none; padding: 0; width: 100%; margin: 0; background-color: blue;} | |
| 5 .count{padding:0 8px 0 4px;} | |
| 6 </style> | |
| 7 <script src="../../resources/check-layout.js"></script> | |
| 8 <div class="container"> | |
| 9 <table cellpadding="0"> | |
| 10 <tr> | |
| 11 <td> | |
| 12 <input type="text" class="input"> | |
| 13 </td> | |
| 14 <td class="count" data-expected-width=12></td> | |
| 15 </tr> | |
| 16 </table> | |
| 17 </div> | |
| 18 <p> crbug.com/497759: Cells with replaced content should get the right width. </ p> | |
| 19 <div id="console"></div> | |
| 20 <script> | |
| 21 checkLayout('td', document.getElementById('console')); | |
|
mstensho (USE GERRIT)
2015/06/16 18:44:39
The first TD in this document has no expectations,
| |
| 22 </script> | |
| OLD | NEW |