Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="../../resources/check-layout.js"></script> | |
| 5 <script> | |
| 6 function test() | |
| 7 { | |
| 8 checkLayout('td'); | |
|
Julien - ping for review
2014/06/24 18:57:34
AFAICT you can just say checkLayout("td, table")
| |
| 9 checkLayout('table'); | |
| 10 } | |
| 11 </script> | |
| 12 </head> | |
| 13 <body onload="test()"> | |
| 14 <p>Test for handling calc() values on table elements as if they were Auto. Check crbug.com/350852 for details.</p> | |
| 15 <table cellpadding="0" cellspacing="0" data-expected-width="132" data-expexted-h eight="100"> | |
|
Julien - ping for review
2014/06/24 18:57:34
width = 132px is wrong. If you follow the CSS comp
| |
| 16 <tr> | |
| 17 <td colspan="5" style="width: calc(100% + 100px);" data-expected-width=" 100" data-expected-height="100"> | |
| 18 <div style="height: 100px; width: 100px"/> | |
| 19 </td> | |
| 20 </tr> | |
| 21 </table> | |
| 22 | |
| 23 <table cellpadding="0" cellspacing="0" style="table-layout:fixed;" data-expected -width="132" data-expexted-height="100"> | |
| 24 <tr> | |
| 25 <td colspan="5" style="width: calc(100% + 100px);" data-expected-width=" 100" data-expected-height="100"> | |
| 26 <div style="height: 100px; width: 100px"/> | |
| 27 </td> | |
| 28 </tr> | |
| 29 </table> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |