Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype HTML> | 1 <!doctype HTML> |
| 2 <style> | 2 <style> |
| 3 #outer { | 3 #outer { |
| 4 height: 50px; | 4 height: 50px; |
| 5 outline: 1px solid; | 5 outline: 1px solid; |
| 6 position:relative; | 6 position:relative; |
| 7 } | 7 } |
| 8 #inner { top:0; bottom:0; position:absolute; } | 8 #inner { top:0; bottom:0; position:absolute; } |
| 9 img { max-height: 100%; } | 9 img { max-height: 100%; } |
| 10 </style> | 10 </style> |
| 11 <script src="../../resources/check-layout.js"></script> | 11 <script src="../../resources/check-layout.js"></script> |
| 12 <body onload="checkLayout('#img')"> | |
| 12 <div id="outer"> | 13 <div id="outer"> |
| 13 <div id="inner"> | 14 <div id="inner"> |
| 14 <img src="resources/square-blue-100x100.png" id="img" data-expected-clie nt-height="50px"> | 15 <img src="resources/square-blue-100x100.png" id="img" data-expected-clie nt-height="50"> |
| 15 </div> | 16 </div> |
| 16 </div> | 17 </div> |
| 17 <script> | 18 </body> |
| 18 window.checkLayout("#img"); | |
| 19 </script> | |
|
Julien - ping for review
2015/01/31 07:12:55
I don't think that makes a difference in the test.
| |
| OLD | NEW |