| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 table { | 3 table { |
| 4 height: 100px; | 4 height: 100px; |
| 5 } | 5 } |
| 6 #content { | 6 #content { |
| 7 height: 100%; | 7 height: 100%; |
| 8 width: 100%; | 8 width: 100%; |
| 9 overflow: visible; | 9 overflow: visible; |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 <table class="test" data-expected-height=100 data-expected-width=82> | 12 <table class="test" data-expected-height=100 data-expected-width=82> |
| 13 <tr> | 13 <tr> |
| 14 <td class="test" data-expected-height=96 data-expected-width=78><div id=
"content" class="test" data-expected-height=94 data-expected-width=76><img src="
../images/resources/border-image-srgb-color-profile.png"></div></td> | 14 <td class="test" data-expected-height=96 data-expected-width=78><div id=
"content" class="test" data-expected-height=94 data-expected-width=76><img src="
../../images/resources/border-image-srgb-color-profile.png"></div></td> |
| 15 </tr> | 15 </tr> |
| 16 </table> | 16 </table> |
| 17 <script src="../../resources/check-layout.js"></script> | 17 <script src="../../resources/check-layout.js"></script> |
| 18 <p> crbug.com/637811: Percent height overflow visible content in a cell should f
lex the height of the cell. </p> | 18 <p> crbug.com/637811: Percent height overflow visible content in a cell should f
lex the height of the cell. </p> |
| 19 <div id="output"></div> | 19 <div id="output"></div> |
| 20 <script> | 20 <script> |
| 21 document.body.offsetTop; | 21 document.body.offsetTop; |
| 22 checkLayout('.test', output); | 22 checkLayout('.test', output); |
| 23 </script> | 23 </script> |
| OLD | NEW |