| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/check-layout.js"></script> | 4 <script src="../../resources/check-layout.js"></script> |
| 5 <script> | 5 <script> |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 checkLayout('.tableContentBox'); | 8 checkLayout('.tableContentBox'); |
| 9 checkLayout('.tablePaddingBox'); | 9 checkLayout('.tablePaddingBox'); |
| 10 checkLayout('.tableBorderBox'); | 10 checkLayout('.tableBorderBox'); |
| 11 } | 11 } |
| 12 </script> | 12 </script> |
| 13 <style> | 13 <style> |
| 14 .tableContentBox, .tablePaddingBox, .tableBorderBox { | 14 .tableContentBox, .tablePaddingBox, .tableBorderBox { |
| 15 display: table; | 15 display: table; |
| 16 padding-left: 100px; | 16 padding-left: 100px; |
| 17 border: 3px solid teal; | 17 border: 3px solid teal; |
| 18 font-family: ahem; | 18 font-family: Ahem; |
| 19 } | 19 } |
| 20 .tableContentBox { | 20 .tableContentBox { |
| 21 -webkit-box-sizing: content-box; | 21 -webkit-box-sizing: content-box; |
| 22 box-sizing: content-box; | 22 box-sizing: content-box; |
| 23 } | 23 } |
| 24 .tablePaddingBox { | 24 .tablePaddingBox { |
| 25 -webkit-box-sizing: padding-box; | 25 -webkit-box-sizing: padding-box; |
| 26 box-sizing: padding-box; | 26 box-sizing: padding-box; |
| 27 } | 27 } |
| 28 .tableBorderBox { | 28 .tableBorderBox { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 </div> | 103 </div> |
| 104 </div> | 104 </div> |
| 105 <div style="width: 30em;" class="tablePaddingBox" data-expected-width="586"> | 105 <div style="width: 30em;" class="tablePaddingBox" data-expected-width="586"> |
| 106 <div class="tablerow"> | 106 <div class="tablerow"> |
| 107 <div class="tablecell">30em, padding-box</div> | 107 <div class="tablecell">30em, padding-box</div> |
| 108 </div> | 108 </div> |
| 109 </div> | 109 </div> |
| 110 </div> | 110 </div> |
| 111 </body> | 111 </body> |
| 112 </html> | 112 </html> |
| OLD | NEW |