Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 table { | |
| 4 height: 100%; | |
| 5 width: 100%; | |
| 6 } | |
| 7 </style> | |
| 8 <p> crbug.com/691968: There should be no scrollbar. </p> | |
| 9 <div id="container" style="width: 400px; height: 400px; overflow: auto; overflow -x: hidden;"> | |
| 10 <table id="table" data-expected-height=200> | |
| 11 <colgroup> | |
| 12 <col style="width: 1161px;"> | |
| 13 </colgroup> | |
| 14 <tbody> | |
| 15 <tr> | |
| 16 <td></td> | |
| 17 </tr> | |
| 18 </tbody> | |
| 19 </table> | |
| 20 </div> | |
| 21 <div id="results"></div> | |
| 22 <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
| |
| 23 <script> | |
| 24 document.body.offsetTop; | |
| 25 document.getElementById("container").style.height = "200px"; | |
| 26 checkLayout('#table', results); | |
| 27 </script> | |
| OLD | NEW |