Skip to content

Commit a918124

Browse files
committed
[css-sizing-3] Trivial fixes to definitions.
1 parent 4f8db50 commit a918124

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

css-sizing-3/Overview.bs

+7-4
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Terminology</h2>
171171
<dd>
172172
The <a>stretch fit</a> into a given size
173173
is that size,
174-
minus the element's computed margins (not collapsed, treating ''margin/auto'' as zero),
174+
minus the box's computed margins (not collapsed, treating ''margin/auto'' as zero),
175175
border, and padding in the given dimension
176176
(such that the outer size is a perfect fit),
177177
and flooring at zero
@@ -263,6 +263,8 @@ Auto Box Sizes</h3>
263263
If the <a>available space</a> in a given axis is <a>definite</a>,
264264
equal to <code>clamp([=min-content size=], [=stretch-fit size=], [=max-content size=])</code>
265265
(i.e. <code>max(<a>min-content size</a>, min(<a>max-content size</a>, <a>stretch-fit size</a>))</code>).
266+
When sizing under a [=min-content constraint=],
267+
equal to the [=min-content size=].
266268
Otherwise, equal to the <a>max-content size</a> in that axis.
267269

268270
Note: This is called the “shrink-to-fit” width in <a href="https://www.w3.org/TR/CSS2/visudet.html#float-width">CSS2.1§10.3.5</a>
@@ -275,7 +277,8 @@ Auto Box Sizes</h3>
275277
(Some uses of this term may refer also to sizes
276278
derived primarily from one of these two sizes.)
277279

278-
[=Replaced elements=] frequently derive this from their [=natural dimensions=].
280+
[=Replaced elements=] frequently derive their [=intrinsic size=]
281+
from their [=natural dimensions=].
279282
</dl>
280283

281284
<h3 id='contributions'>
@@ -369,8 +372,8 @@ Preferred Size Properties: the 'width' and 'height' properties</h4>
369372
Animation type: by computed value type, recursing into ''width/fit-content()''
370373
</pre>
371374

372-
The 'width' and 'height' properties specify
373-
the <dfn export lt="preferred size">preferred</dfn> (<a>physical</a>)
375+
The 'width' and 'height' ([=physical=]) properties specify
376+
the <dfn export lt="preferred size">preferred</dfn>
374377
<dfn export lt="width | preferred width">width</dfn>
375378
and <dfn export lt="height | preferred height">height</dfn> of the box, respectively.
376379

0 commit comments

Comments
 (0)