Skip to content

Commit 324c0c4

Browse files
committed
[css-sizing-3] Improve definition of min-content size. #6418
1 parent 9cebf80 commit 324c0c4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

css-sizing-3/Overview.bs

+7-8
Original file line numberDiff line numberDiff line change
@@ -238,24 +238,23 @@ Auto Box Sizes</h3>
238238

239239
<dt><dfn lt="min-content | min-content size">min-content size</dfn>
240240
<dd>
241-
The smallest <a>size</a> a box could take
241+
Nominally, the smallest <a>size</a> a box could take
242242
that doesn't lead to overflow
243243
that could be avoided by choosing a larger <a>size</a>.
244-
(See [[#intrinsic]].)
244+
Formally, the size of the box when sized under a [=min-content constraint=],
245+
see [[#intrinsic]].
245246

246247
: <dfn>min-content inline size</dfn>
247-
:: The narrowest <a>inline size</a> a box could take
248-
that doesn't lead to inline-dimension overflow
249-
that could be avoided by choosing a larger <a>inline size</a>.
250-
Roughly, the <a>inline size</a> that would fit around its contents
248+
:: The [=min-content size=] in the [=inline axis=].
249+
Typically, the <a>inline size</a> that would fit around its contents
251250
if <em>all</em> soft wrap opportunities within the box were taken.
252251

253252
Note: This is called the “preferred minimum width” in <a href="https://www.w3.org/TR/CSS2/visudet.html#float-width">CSS2.1§10.3.5</a>
254253
and the “minimum content width” in <a href="https://www.w3.org/TR/CSS2/tables.html#auto-table-layout">CSS2.1§17.5.2.2</a>.
255254

256255
: <dfn>min-content block size</dfn>
257-
:: In general,
258-
and definitely for [=block containers=], tables, and [=inline boxes=],
256+
:: The [=min-content size=] in the [=block axis=].
257+
For [=block containers=], tables, and [=inline boxes=],
259258
this is equivalent to the <a>max-content block size</a>.
260259

261260
<dt><dfn>fit-content size</dfn>

0 commit comments

Comments
 (0)