| 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: scroll; | 9 overflow: scroll; |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 <table class="test" data-expected-height=100> | 12 <table class="test" data-expected-height=100> |
| 13 <tr> | 13 <tr> |
| 14 <td class="test" data-expected-height=96><div id="content" class="test"
data-expected-height=94><img src="../images/resources/green-256x256.jpg"></div><
/td> | 14 <td class="test" data-expected-height=96><div id="content" class="test"
data-expected-height=94><img src="../../images/resources/green-256x256.jpg"></di
v></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 scroll content in a cell should no
t flex the height of the cell. </p> | 18 <p> crbug.com/637811: Percent height overflow scroll content in a cell should no
t flex the height of the cell. </p> |
| 19 <div id="output"></div> | 19 <div id="output"></div> |
| 20 <script> | 20 <script> |
| 21 checkLayout('.test', output); | 21 checkLayout('.test', output); |
| 22 </script> | 22 </script> |
| OLD | NEW |