fits property

bool fits
final

Whether this room is as wide as what is inside it rather than as wide as it is offered: an inline-level flex container of no stated width. The shares of it are then CYCLIC -- they count as nothing while the room's own width is worked out, and resolve against the width that comes out (css-sizing-3 5.2.1; CSS 2.1 8.4). So the room lays its child out twice: first as wide as it wants with every share of the room at nothing, then held to that width with the shares taken of it -- and what they add hangs out of the room. Chrome, an inline-flex round e at padding: 0 10% and f: the container is the two words' 15.25 wide, e's padding 1.525 a side, and f hangs 3.05 out of the container's end (fixtures/flex-item-pct-padding).

Implementation

final bool fits;