| Index: LayoutTests/fast/replaced/available-height-for-content.html
|
| diff --git a/LayoutTests/fast/replaced/available-height-for-content.html b/LayoutTests/fast/replaced/available-height-for-content.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fef3c8491ee4a37c616c8b7381d0c6c59e9ba2fe
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/replaced/available-height-for-content.html
|
| @@ -0,0 +1,14 @@
|
| +<!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>
|
| +
|
|
|