blob: fef3c8491ee4a37c616c8b7381d0c6c59e9ba2fe [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/check-layout.js"></script>
<style>
div { width: 200px; min-height: 1px; height: 20px; border: 1px solid green; padding: 50px;}
img { margin:0; padding:0; border:0; width:100%; height: 100%; background: silver}
</style>
<p>Ensure we calculate the available height for replaced content correctly.</p>
<div>
<img src="" data-expected-height=20>
</div>
<script>
checkLayout('img');
</script>