Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / replaced / available-height-for-content.html
1 <!DOCTYPE html>
2     <script src="../../resources/check-layout.js"></script>
3     <style>
4         div { width: 200px; min-height: 1px; height: 20px; border: 1px solid green; padding: 50px;}
5         img { margin:0; padding:0; border:0; width:100%; height: 100%; background: silver}
6     </style>
7 <p>Ensure we calculate the available height for replaced content correctly.</p>
8 <div>
9     <img src="" data-expected-height=20>
10 </div>
11 <script>
12         checkLayout('img');
13 </script>
14