Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-intrinsic-dimensions / height-replaced.html
blob596407a5b9d944cd87c3969bba4a846346b07af6
1 <!DOCTYPE html>
2 <!--
3 All divs here should shrinkwrap to fit their content, except for fill-available
4 -->
5 <style>
6 @import "resources/height-keyword-classes.css";
8 body * {
9 border: 2px solid red;
10 padding: 5px;
11 clear: both;
14 .container {
15 height: 500px;
16 border-color: blue;
18 display: inline-block;
19 width: 100px;
22 iframe {
23 width: 50px;
26 .small {
27 height: 1px;
30 .big {
31 height: 300px;
34 .really-big {
35 height: 1000px;
37 </style>
38 <div class="container">
39 <iframe class="min-content">
40 </iframe>
42 <iframe class="max-content">
43 </iframe>
45 <iframe class="fit-content">
46 </iframe>
47 </div>
49 <div class="container">
50 <iframe class="fill-available">
51 </iframe>
52 </div>
54 <div class="container">
55 <iframe class="small min-height-min-content">
56 </iframe>
58 <iframe class="small min-height-max-content">
59 </iframe>
61 <iframe class="small min-height-fit-content">
62 </iframe>
63 </div>
65 <div class="container">
66 <iframe class="small min-height-fill-available">
67 </iframe>
68 </div>
70 <div class="container">
71 <iframe class="big max-height-min-content">
72 </iframe>
74 <iframe class="big max-height-max-content">
75 </iframe>
77 <iframe class="big max-height-fit-content">
78 </iframe>
79 </div>
81 <div class="container">
82 <iframe class="really-big max-height-fill-available">
83 </iframe>
84 </div>