Skip to content

Commit 24bb447

Browse files
committed
[css3-sizing] Add the term 'fill-available fit'.
1 parent aa6a552 commit 24bb447

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

css3-sizing/Overview.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,16 @@ <h2 id=terms><span class=secno>2. </span> Terminology</h2>
306306
either a <dfn id=min-content-constraint>min-content constraint</dfn> or a
307307
<dfn id=max-content-constraint>max-content constraint</dfn>.
308308

309+
<dt><dfn id=fill-available-fit>fill-available fit</dfn>
310+
311+
<dd> The <a href="#fill-available-fit"><i>fill-available fit</i></a> into
312+
a given size is that size, minus the element's computed margins (not
313+
collapsed, treating ‘<code class=css>auto</code>’ as zero), border,
314+
and padding in the given dimension.
315+
<p class=note> Note: This is the formula used to calculate widths of
316+
non-replaced blocks in normal flow in <a
317+
href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>.
318+
309319
<dt><dfn id=fallback-size title="fallback|fallback size">fallback
310320
size</dfn>
311321

@@ -1223,6 +1233,9 @@ <h2 class=no-num id=index> Index</h2>
12231233
<li>fill-available extent, <a href="#fill-available-extent"
12241234
title="fill-available extent"><strong>2.</strong></a>
12251235

1236+
<li>fill-available fit, <a href="#fill-available-fit"
1237+
title="fill-available fit"><strong>2.</strong></a>
1238+
12261239
<li>fill-available measure, <a href="#fill-available-measure"
12271240
title="fill-available measure"><strong>2.</strong></a>
12281241

css3-sizing/Overview.src.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,16 @@ <h2 id="terms">
135135
<dfn>min-content constraint</dfn> or
136136
a <dfn>max-content constraint</dfn>.
137137

138+
<dt><dfn>fill-available fit</dfn>
139+
<dd>
140+
The <i>fill-available fit</i> into a given size
141+
is that size,
142+
minus the element's computed margins (not collapsed, treating ''auto'' as zero),
143+
border, and padding in the given dimension.
144+
145+
<p class='note'>
146+
Note: This is the formula used to calculate widths of non-replaced blocks in normal flow in <a href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>.
147+
138148
<dt><dfn title="fallback|fallback size">fallback size</dfn>
139149
<dd>
140150
Some sizing algorithms do not work well with an infinite size.

0 commit comments

Comments
 (0)