Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-intrinsic-dimensions / width-expected.html
blob133848dc2bf598b364997a94ffcca754d7ec7e9d
1 <!doctype html>
2 <style>
3 body * {
4 border: 5px solid red;
5 padding: 5px;
6 clear: both;
9 span {
10 display: inline-block;
11 width: 200px;
12 border-color: green;
15 .float {
16 float: left;
19 #container {
20 width: 150px;
21 border-color: blue;
24 #container::after {
25 content: ".";
26 clear: both;
27 height: 0;
28 width: 0;
29 display: block;
30 visibility: hidden;
33 /*
34 fit-content and min-content in this test should both do float like
35 shrink wrapping.
37 .fit-content,
38 .min-content {
39 float: left;
43 max-content acts as though no line breaks were taken.
45 .max-content {
46 white-space: nowrap;
47 display: inline-block;
50 </style>
52 <div id="container">
54 <div class="min-content">
55 <span>Min Content</span> on this box.
56 </div>
58 <div class="max-content">
59 <span>Max Content</span> on this box.
60 </div>
62 <div class="float">
63 <span>Float</span> on this box.
64 </div>
66 <div>
67 <span>Fill Available</span> on this box.
68 </div>
70 <div class="fit-content">
71 <span>Fit Content</span> on this box.
72 </div>
74 </div>