@@ -90,7 +90,7 @@ Terminology</h2>
90
90
a measure of text (without consideration of line-wrapping),
91
91
a size of the <a>initial containing block</a> ,
92
92
or a <<percentage>> or other formula
93
- (such the <a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">“fill-available ” sizing of non-replaced blocks</a> [[CSS21]] )
93
+ (such the <a href="https://www.w3.org/TR/CSS21/visudet.html#blockwidth">“stretch-fit ” sizing of non-replaced blocks</a> [[CSS21]] )
94
94
that is resolved solely against <a>definite</a> sizes.
95
95
96
96
Additionally, the size of the <a>containing block</a> of an absolutely positioned element is always <a>definite</a>
@@ -120,9 +120,9 @@ Terminology</h2>
120
120
<span class="issue"> What, exactly, is the available space in the inline axis??? What about other formatting models?</span>
121
121
-->
122
122
123
- <dt> <dfn>fill-available fit</dfn>
123
+ <dt> <dfn>stretch fit</dfn>
124
124
<dd>
125
- The <a>fill-available fit</a> into a given size
125
+ The <a>stretch fit</a> into a given size
126
126
is that size,
127
127
minus the element's computed margins (not collapsed, treating ''margin/auto'' as zero),
128
128
border, and padding in the given dimension.
@@ -143,9 +143,9 @@ Terminology</h2>
143
143
Auto Box Sizes</h3>
144
144
145
145
<div export>
146
- : <dfn>fill-available size</dfn>
147
- : <dfn>fill-available inline size</dfn>
148
- : <dfn>fill-available block size</dfn>
146
+ : <dfn>stretch-fit size</dfn>
147
+ : <dfn>stretch-fit inline size</dfn>
148
+ : <dfn>stretch-fit block size</dfn>
149
149
:: Roughly, the <a>size</a> a box would take
150
150
if it filled the <a>available space</a>
151
151
in the given axis.
@@ -201,7 +201,7 @@ Auto Box Sizes</h3>
201
201
: <dfn>fit-content inline size</dfn>
202
202
: <dfn>fit-content block size</dfn>
203
203
:: If the <a>available space</a> in a given axis is finite,
204
- equal to <code> min(<a>max-content size</a> , max(<a>min-content size</a> , <a>fill-available size</a> ))</code> .
204
+ equal to <code> min(<a>max-content size</a> , max(<a>min-content size</a> , <a>stretch-fit size</a> ))</code> .
205
205
Otherwise, equal to the <a>max-content size</a> in that axis.
206
206
207
207
Note: This is called the “shrink-to-fit” width in <a href="https://www.w3.org/TR/CSS21/visudet.html#float-width">CSS2.1§10.3.5</a>
@@ -257,7 +257,7 @@ New Keywords for 'width' and 'height'</h3>
257
257
<dl dfn-type=value dfn-for="width, min-width, max-width, height, min-height, max-height">
258
258
<dt> <dfn>stretch</dfn>
259
259
<dd>
260
- Use the <a>fill-available inline size</a> or <a>fill-available block size</a> ,
260
+ Use the <a>stretch-fit inline size</a> or <a>stretch-fit block size</a> ,
261
261
as appropriate to the writing mode.
262
262
263
263
NOTE: This is the formula used to calculate ''width/auto'' widths
@@ -282,7 +282,7 @@ New Keywords for 'width' and 'height'</h3>
282
282
If specified for the inline axis,
283
283
use the <a>max-content inline size</a>
284
284
i.e.
285
- <code> min(<a>max-content size</a> , max(<a>min-content size</a> , <a>fill-available size</a> ))</code> ;
285
+ <code> min(<a>max-content size</a> , max(<a>min-content size</a> , <a>stretch-fit size</a> ))</code> ;
286
286
otherwise compute to ''width/auto'' .
287
287
288
288
<dt> <dfn>fit-content(<<length-percentage>>)</dfn>
@@ -329,7 +329,7 @@ Column Sizing Keywords</h3>
329
329
330
330
<dl dfn-type=value dfn-for="column-width">
331
331
<dt> <dfn>stretch</dfn>
332
- <dd> Specifies the optimal column width as the <a>fill-available inline size</a>
332
+ <dd> Specifies the optimal column width as the <a>stretch-fit inline size</a>
333
333
of the multi-column element.
334
334
335
335
<dt> <dfn>max-content</dfn>
@@ -342,7 +342,7 @@ Column Sizing Keywords</h3>
342
342
343
343
<dt> <dfn>fit-content</dfn>
344
344
<dd> Specifies the optimal column width as
345
- <code> min(<a>max-content inline size</a> , max(<a>min-content inline size</a> , <a>fill-available inline size</a> ))</code> .
345
+ <code> min(<a>max-content inline size</a> , max(<a>min-content inline size</a> , <a>stretch-fit inline size</a> ))</code> .
346
346
347
347
<dt> <dfn>fit-content(<<length-percentage>>)</dfn>
348
348
<dd>
@@ -562,16 +562,16 @@ Extrinsic Size Determination</h2>
562
562
<dfn export>Extrinsic sizing</dfn> determines sizes based on the context of an element,
563
563
without regard for its contents.
564
564
565
- <h3 id="fill-available -sizing">
566
- Fill-available Sizing</h3>
565
+ <h3 id="stretch-fit -sizing">
566
+ Stretch-fit Sizing</h3>
567
567
568
568
<p>
569
- The inner <a>fill-available inline size</a> of a box is…
569
+ The inner <a>stretch-fit inline size</a> of a box is…
570
570
<ul>
571
571
<li>
572
572
If the box is the root or is absolutely-positioned, the inline-size of its containing block, else
573
573
<li>
574
- <code> max(<a>min-content inline size</a> |0, min(<a>max-content inline size</a> |infinity, <a>inline size</a> |<a>fill-available inline size</a> ))</code>
574
+ <code> max(<a>min-content inline size</a> |0, min(<a>max-content inline size</a> |infinity, <a>inline size</a> |<a>stretch-fit inline size</a> ))</code>
575
575
where the sizes are inner inline-sizes of the element establishing the box's <a>containing block</a> ,
576
576
and where the first value is used if it is <a>definite</a> and the second value otherwise.
577
577
</ul>
@@ -581,7 +581,7 @@ Fill-available Sizing</h3>
581
581
borders, and padding.
582
582
583
583
<p>
584
- The <a>fill-available block size</a> of a box is defined analogously,
584
+ The <a>stretch-fit block size</a> of a box is defined analogously,
585
585
but in the other dimension.
586
586
587
587
<p class='issue'>
@@ -636,12 +636,12 @@ Changes</h2>
636
636
Changes since the <a href="https://www.w3.org/TR/2012/WD-css3-sizing-20120927/">September 2012 Working Draft</a> include:
637
637
638
638
<ul>
639
- <li> Changed <code> fill-available </code> keyword to <code> fill</code> .
639
+ <li> Changed <code> stretch-fit </code> keyword to <code> fill</code> .
640
640
<li> Hooked up intrinsic sizes of replaced elements to the <a>default sizing algorithm</a> in [[!CSS3-IMAGES]] .
641
641
<li> Specified that <a>extrinsic sizing</a> treates ''margin/auto'' margins as zero.
642
642
<li> Clarified definition of <a>available space</a> .
643
643
<li> Specified that percentages resolved against an intrinsic size of the parent computes falls back to auto sizing.
644
- <li> Fixed bad wording wrt containing blocks in <a>fill-available inline size</a> definition,
644
+ <li> Fixed bad wording wrt containing blocks in <a>stretch-fit inline size</a> definition,
645
645
and specified that it is calculated <em> after</em> margin collapsing.
646
646
<li> Specified that an absolutely-positioned box's containing block is always considered definite.
647
647
<li> Improved section on intrinsic sizing of multi-column elements.
0 commit comments