Skip to content

Commit c4886d1

Browse files
committed
[css-sizing] Collapse together some identical inline/block definitions.
1 parent 7a718f5 commit c4886d1

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

css-sizing/Overview.bs

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -120,21 +120,12 @@ Auto Box Sizes</h3>
120120

121121
<div export>
122122
: <dfn>fill-available size</dfn>
123+
: <dfn>fill-available inline size</dfn>
124+
: <dfn>fill-available block size</dfn>
123125
:: Roughly, the <a>size</a> a box would take
124126
if it filled its <a>available size</a>
125127
in a given axis.
126-
127-
: <dfn>fill-available inline size</dfn>
128-
:: Roughly, the <a>inline-size</a> a box would take
129-
if it filled its <a>available inline size</a>.
130-
(See [[#extrinsic]].)
131-
132-
Note: This is called the “available width” in <a href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>
133-
and computed by the rules in <a href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>.
134-
: <dfn>fill-available block size</dfn>
135-
:: Roughly, the <a>block-size</a> a box would take
136-
if it filled its <a>available block size</a>.
137-
(See [[#intrinsic]].)
128+
(See [[#extrinsic]].)
138129

139130
: <dfn>max-content size</dfn>
140131
:: Roughly, the narrowest <a>size</a> a box could take in a given axis while fitting around its contents
@@ -176,17 +167,14 @@ Auto Box Sizes</h3>
176167
even if they are the same elsewhere.
177168

178169
: <dfn>fit-content size</dfn>
170+
: <dfn>fit-content inline size</dfn>
171+
: <dfn>fit-content block size</dfn>
179172
:: If the <a>available size</a> in a given axis is finite,
180173
equal to <code>min(<a>preferred size</a>, max(<a>min-content size</a>, <a>fill-available size</a>))</code>.
181174
Otherwise, equal to the <a>max-content size</a> in that axis.
182175

183-
: <dfn>fit-content inline size</dfn>
184-
:: As described for <a>fit-content size</a>, in the <a>inline axis</a>.
185-
186-
Note: This is called the “shrink-to-fit” width in <a href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>
187-
and <a href="http://www.w3.org/TR/css3-multicol/#pseudo-algorithm">CSS Multi-column Layout § 3.4</a>.
188-
: <dfn>fit-content block size</dfn>
189-
:: As described for <a>fit-content size</a>, in the <a>block axis</a>.
176+
Note: This is called the “shrink-to-fit” width in <a href="http://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>
177+
and <a href="http://www.w3.org/TR/css3-multicol/#pseudo-algorithm">CSS Multi-column Layout § 3.4</a>.
190178

191179
: <dfn>preferred size</dfn>
192180
:: A box’s “ideal” <a>size</a> in a given axis.

0 commit comments

Comments
 (0)