3 Tests intrinsic width keywords for float avoiding behavior. The way the
4 spec is written only width: auto elements will allow a float to flow
5 through them with overflow: auto, so all elements below should avoid the
6 float by shifting to the right except fill-available which should be forced
7 below the float since it can't become smaller than the available width.
9 Note: This is weird behavior, not sure it was intended by the spec.
12 @import
"resources/width-keyword-classes.css";
15 border:
5px solid red;
20 display: inline-block;
41 <div class=
"float">Float
</div>
43 <div class=
"min-content">
44 <span>Min Content
</span> on this box.
47 <div class=
"max-content">
48 <span>Max Content
</span> on this box.
51 <div class=
"fit-content">
52 <span>Fit Content
</span> on this box.
56 <span>Auto
</span> on this box.
59 <div class=
"fill-available">
60 <span>Fill Available
</span> on this box.