Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-intrinsic-dimensions / width-avoid-floats-expected.html
blobbce35b368fe7b36f7e89fa795848fafc513a9576
1 <!doctype html>
2 <style>
3 body * {
4 border: 5px solid red;
5 padding: 5px;
8 span {
9 display: inline-block;
10 width: 200px;
11 border-color: green;
14 .float {
15 float: left;
16 height: 300px;
19 /* Should be shrink wrapped like it was an inline block */
20 .fit-content,
21 .max-content,
22 .min-content {
23 display: inline-block;
26 /* fill-available can't avoid the float so it should be pushed down */
27 .fill-available {
28 clear: left;
30 </style>
32 <body>
34 <div class="float">Float</div>
36 <div class="min-content">
37 <span>Min Content</span><br>on this box.
38 </div>
40 <br>
42 <div class="max-content">
43 <span>Max Content</span> on this box.
44 </div>
46 <br>
48 <div class="fit-content">
49 <span>Fit Content</span> on this box.
50 </div>
52 <br>
54 <div>
55 <span>Auto</span> on this box.
56 </div>
58 <div class="fill-available">
59 <span>Fill Available</span> on this box.
60 </div>
62 </body>