Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / replaced / available-height-for-content.html
blobfef3c8491ee4a37c616c8b7381d0c6c59e9ba2fe
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>