| Index: LayoutTests/fast/css-intrinsic-dimensions/height.html
|
| diff --git a/LayoutTests/fast/css-intrinsic-dimensions/height.html b/LayoutTests/fast/css-intrinsic-dimensions/height.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..35ff3b6386faf822e8677794d962c8fb177218ad
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css-intrinsic-dimensions/height.html
|
| @@ -0,0 +1,92 @@
|
| +<!DOCTYPE html>
|
| +<!--
|
| +All divs here should shrinkwrap to fit their content, except for fill-available
|
| +-->
|
| +<style>
|
| + @import "resources/height-keyword-classes.css";
|
| +
|
| + body * {
|
| + border: 2px solid red;
|
| + padding: 5px;
|
| + clear: both;
|
| + }
|
| +
|
| + .container {
|
| + height: 300px;
|
| + border-color: blue;
|
| +
|
| + display: inline-block;
|
| + width: 100px;
|
| + }
|
| +
|
| + .small {
|
| + height: 1px;
|
| + }
|
| +
|
| + .big {
|
| + height: 100px;
|
| + }
|
| +
|
| + .really-big {
|
| + height: 1000px;
|
| + }
|
| +</style>
|
| +<div class="container">
|
| + <div class="min-content">
|
| + height: min-content<br>on this box.
|
| + </div>
|
| +
|
| + <div class="max-content">
|
| + height: max-content<br>on this box.
|
| + </div>
|
| +
|
| + <div class="fit-content">
|
| + height: fit-content<br>on this box.
|
| + </div>
|
| +</div>
|
| +
|
| +<div class="container">
|
| + <div class="fill-available">
|
| + height: fill-available<br> on this box.
|
| + </div>
|
| +</div>
|
| +
|
| +<div class="container">
|
| + <div class="small min-height-min-content">
|
| + min-height: min-content<br>on this box.
|
| + </div>
|
| +
|
| + <div class="small min-height-max-content">
|
| + min-height: max-content<br>on this box.
|
| + </div>
|
| +
|
| + <div class="small min-height-fit-content">
|
| + min-height: fit-content<br>on this box.
|
| + </div>
|
| +</div>
|
| +
|
| +<div class="container">
|
| + <div class="small min-height-fill-available">
|
| + min-height: fill-available<br> on this box.
|
| + </div>
|
| +</div>
|
| +
|
| +<div class="container">
|
| + <div class="big max-height-min-content">
|
| + max-height: min-content<br>on this box.
|
| + </div>
|
| +
|
| + <div class="big max-height-max-content">
|
| + max-height: max-content<br>on this box.
|
| + </div>
|
| +
|
| + <div class="big max-height-fit-content">
|
| + max-height: fit-content<br>on this box.
|
| + </div>
|
| +</div>
|
| +
|
| +<div class="container">
|
| + <div class="really-big max-height-fill-available">
|
| + max-height: fill-available<br> on this box.
|
| + </div>
|
| +</div>
|
|
|