3 Tests the intrinsic width keywords defined in the writing mode spec by
4 setting up a bunch of boxes with content and a wrapper that has a small
7 Visually there should be a min-content, fit-content, and float box that are
8 identical widths, a fill-available box that's constrained by the #container,
9 and a max-content box that has text all on one line. All boxes except
10 fill-available should overflow the #container.
13 @import
"resources/width-keyword-classes.css";
16 border:
5px solid red;
22 display: inline-block;
48 <div class=
"min-content">
49 <span>Min Content
</span> on this box.
52 <div class=
"max-content">
53 <span>Max Content
</span> on this box.
57 <span>Float
</span> on this box.
60 <div class=
"fill-available">
61 <span>Fill Available
</span> on this box.
64 <div class=
"fit-content">
65 <span>Fit Content
</span> on this box.