Skip to content

Commit cd05f29

Browse files
committed
[css-sizing] Clarify definition of 'available size'.
--HG-- extra : rebase_source : 9b5129a6d4ef599fdf75f4df4b029d97316494ca
1 parent f1f0f27 commit cd05f29

File tree

2 files changed

+46
-39
lines changed

2 files changed

+46
-39
lines changed

css-sizing/Overview.html

+42-36
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
<meta content="CSS Intrinsic &amp; Extrinsic Sizing Module Level 3"
1313
name=dcterms.title>
1414
<meta content=text name=dcterms.type>
15-
<meta content=2013-02-20 name=dcterms.issued>
16-
<meta content="http://dev.w3.org/csswg/css3-sizing/" name=dcterms.creator>
15+
<meta content=2013-07-22 name=dcterms.date>
16+
<meta content="Tab Atkins Jr." name=dcterms.creator>
17+
<meta content="Elika J. Etemad" name=dcterms.creator>
1718
<meta content=W3C name=dcterms.publisher>
1819
<meta content="http://dev.w3.org/csswg/css3-sizing/"
1920
name=dcterms.identifier>
@@ -31,12 +32,11 @@
3132

3233
<h1>CSS Intrinsic &amp; Extrinsic Sizing Module Level 3</h1>
3334

34-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 20 February
35-
2013</h2>
35+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 July 2013</h2>
3636

3737
<dl><!--
3838
<dt>This version:
39-
<dd><a href="http://dev.w3.org/csswg/css3-sizing/">http://www.w3.org/TR/2013/ED-css3-sizing-20130220/</a>
39+
<dd><a href="http://dev.w3.org/csswg/css3-sizing/">http://www.w3.org/TR/2013/ED-css3-sizing-20130722/</a>
4040
-->
4141

4242
<dt>Latest version:
@@ -61,9 +61,13 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 20 February
6161
Bugzilla</a>
6262

6363
<dt>Feedback:
64-
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-sizing%5D%20feedback">www-style@w3.org</a>
65-
with subject line &ldquo;<kbd>[css-sizing] <var>&hellip; message topic &hellip;</var></kbd>&rdquo;
66-
(<a rel="discussion" href="http://lists.w3.org/Archives/Public/www-style/">archives</a>)
64+
65+
<dd><a
66+
href="mailto:www-style@w3.org?subject=%5Bcss-sizing%5D%20feedback">www-style@w3.org</a>
67+
with subject line “<kbd>[css-sizing] <var>… message topic
68+
</var></kbd>” (<a
69+
href="http://lists.w3.org/Archives/Public/www-style/"
70+
rel=discussion>archives</a>)
6771

6872
<dt>Editors:
6973

@@ -124,20 +128,22 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
124128
“css3-sizing” in the subject, preferably like this:
125129
“[<!---->css3-sizing<!---->] <em>…summary of comment…</em>
126130

127-
<p>This document was produced by the <a href="/Style/CSS/members">CSS
128-
Working Group</a> (part of the <a href="/Style/">Style Activity</a>).
131+
<p>This document was produced by the <a
132+
href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part of
133+
the <a href="http://www.w3.org/Style/">Style Activity</a>).
129134

130135
<p>This document was produced by a group operating under the <a
131-
href="/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent
132-
Policy</a>. W3C maintains a <a href="/2004/01/pp-impl/32061/status"
136+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
137+
2004 W3C Patent Policy</a>. W3C maintains a <a
138+
href="http://www.w3.org/2004/01/pp-impl/32061/status"
133139
rel=disclosure>public list of any patent disclosures</a> made in
134140
connection with the deliverables of the group; that page also includes
135141
instructions for disclosing a patent. An individual who has actual
136142
knowledge of a patent which the individual believes contains <a
137-
href="/Consortium/Patent-Policy-20040205/#def-essential">Essential
143+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
138144
Claim(s)</a> must disclose the information in accordance with <a
139-
href="/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the
140-
W3C Patent Policy</a>.</p>
145+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
146+
6 of the W3C Patent Policy</a>.</p>
141147
<!--end-status-->
142148

143149
<p>The following features are at risk: …
@@ -303,8 +309,10 @@ <h2 id=terms><span class=secno>2. </span> Terminology</h2>
303309
title="available|available size|available measure|available extent|available space">available
304310
size</dfn>
305311

306-
<dd> The space into which a box is laid out, typically either a
307-
measurement of its <i>containing block</i> or an infinite size. An <a
312+
<dd> The space into which a box is laid out. Unless otherwise specified,
313+
this is either a measurement of its <i>containing block</i> (if that is
314+
<a href="#definite"><i>definite</i></a>) or an infinite size (when it is
315+
<a href="#indefinite"><i>indefinite</i></a>). An <a
308316
href="#available"><i>available size</i></a> can alternatively be either a
309317
<dfn id=min-content-constraint>min-content constraint</dfn> or a <dfn
310318
id=max-content-constraint>max-content constraint</dfn>. <!--
@@ -321,8 +329,9 @@ <h2 id=terms><span class=secno>2. </span> Terminology</h2>
321329
a given size is that size, minus the element's computed margins (not
322330
collapsed, treating ‘<code class=css>auto</code>’ as zero), border,
323331
and padding in the given dimension.
324-
<p class=note> Note: This is the formula used to calculate widths of
325-
non-replaced blocks in normal flow in <a
332+
<p class=note> Note: This is the formula used to calculate the ‘<code
333+
class=css>auto</code>’ widths of non-replaced blocks in normal flow in
334+
<a
326335
href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">CSS2.1§10.3.3</a>.
327336

328337
<dt><dfn id=fallback-size title="fallback|fallback size">fallback
@@ -1113,16 +1122,16 @@ <h3 class=no-num id=normative-references> Normative references</h3>
11131122
<!-- Sorted by label -->
11141123

11151124
<dl class=bibliography>
1116-
<dt style="display: none"><!-- keeps the doc valid if the DL is empty -->
1125+
<dd style="display: none"><!-- keeps the doc valid if the DL is empty -->
11171126
<!---->
11181127

11191128
<dt id=CSS21>[CSS21]
11201129

11211130
<dd>Bert Bos; et al. <a
1122-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/"><cite>Cascading Style
1131+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607"><cite>Cascading Style
11231132
Sheets Level 2 Revision 1 (CSS 2.1) Specification.</cite></a> 7 June
11241133
2011. W3C Recommendation. URL: <a
1125-
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/">http://www.w3.org/TR/2011/REC-CSS2-20110607/</a>
1134+
href="http://www.w3.org/TR/2011/REC-CSS2-20110607">http://www.w3.org/TR/2011/REC-CSS2-20110607</a>
11261135
</dd>
11271136
<!---->
11281137

@@ -1172,7 +1181,7 @@ <h3 class=no-num id=other-references> Other references</h3>
11721181
<!-- Sorted by label -->
11731182

11741183
<dl class=bibliography>
1175-
<dt style="display: none"><!-- keeps the doc valid if the DL is empty -->
1184+
<dd style="display: none"><!-- keeps the doc valid if the DL is empty -->
11761185
<!---->
11771186

11781187
<dt id=CSS3-BREAK>[CSS3-BREAK]
@@ -1218,8 +1227,7 @@ <h2 class=no-num id=index> Index</h2>
12181227
<li>available space, <a href="#available"
12191228
title="section 2."><strong>2.</strong></a>
12201229

1221-
<li><a href="#contain-floats"><code
1222-
class=css>contain-floats</code></a>’, <a href="#contain-floats"
1230+
<li><code class=css>contain-floats</code>’, <a href="#contain-floats"
12231231
title="section 3.2."><strong>3.2.</strong></a>
12241232

12251233
<li>definite, <a href="#definite"
@@ -1237,8 +1245,7 @@ <h2 class=no-num id=index> Index</h2>
12371245
<li>fallback size, <a href="#fallback-size"
12381246
title="section 2."><strong>2.</strong></a>
12391247

1240-
<li><a href="#fill-available"><code
1241-
class=css>fill-available</code></a>’, <a href="#fill-available"
1248+
<li><code class=css>fill-available</code>’, <a href="#fill-available"
12421249
title="section 3.1."><strong>3.1.</strong></a>
12431250

12441251
<li>fill-available extent, <a href="#fill-available-extent"
@@ -1250,8 +1257,8 @@ <h2 class=no-num id=index> Index</h2>
12501257
<li>fill-available measure, <a href="#fill-available-measure"
12511258
title="section 2."><strong>2.</strong></a>
12521259

1253-
<li><a href="#fit-content"><code class=css>fit-content</code></a>’,
1254-
<a href="#fit-content" title="section 3.1."><strong>3.1.</strong></a>
1260+
<li><code class=css>fit-content</code>’, <a href="#fit-content"
1261+
title="section 3.1."><strong>3.1.</strong></a>
12551262

12561263
<li>fit-content extent, <a href="#fit-content-extent"
12571264
title="section 2."><strong>2.</strong></a>
@@ -1268,8 +1275,8 @@ <h2 class=no-num id=index> Index</h2>
12681275
<li>Intrinsic sizing, <a href="#intrinsic-sizing0"
12691276
title="section 4."><strong>4.</strong></a>
12701277

1271-
<li><a href="#max-content"><code class=css>max-content</code></a>’,
1272-
<a href="#max-content" title="section 3.1."><strong>3.1.</strong></a>
1278+
<li><code class=css>max-content</code>’, <a href="#max-content"
1279+
title="section 3.1."><strong>3.1.</strong></a>
12731280

12741281
<li>max-content constraint, <a href="#max-content-constraint"
12751282
title="section 2."><strong>2.</strong></a>
@@ -1286,8 +1293,8 @@ <h2 class=no-num id=index> Index</h2>
12861293
<li>max-size contribution, <a href="#max-size-contribution"
12871294
title="section 2."><strong>2.</strong></a>
12881295

1289-
<li><a href="#min-content"><code class=css>min-content</code></a>’,
1290-
<a href="#min-content" title="section 3.1."><strong>3.1.</strong></a>
1296+
<li><code class=css>min-content</code>’, <a href="#min-content"
1297+
title="section 3.1."><strong>3.1.</strong></a>
12911298

12921299
<li>min-content constraint, <a href="#min-content-constraint"
12931300
title="section 2."><strong>2.</strong></a>
@@ -1307,9 +1314,8 @@ <h2 class=no-num id=index> Index</h2>
13071314
<li>renderer, <a href="#renderer"
13081315
title="section 6.2."><strong>6.2.</strong></a>
13091316

1310-
<li><a href="#repudiate-floats"><code
1311-
class=css>repudiate-floats</code></a>’, <a href="#repudiate-floats"
1312-
title="section 3.1."><strong>3.1.</strong></a>
1317+
<li><code class=css>repudiate-floats</code>’, <a
1318+
href="#repudiate-floats" title="section 3.1."><strong>3.1.</strong></a>
13131319

13141320
<li>size, <a href="#size" title="section 2."><strong>2.</strong></a>
13151321

css-sizing/Overview.src.html

+4-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,10 @@ <h2 id="terms">
131131

132132
<dt><dfn id="available" title="available|available size|available measure|available extent|available space">available size</dfn>
133133
<dd>
134-
The space into which a box is laid out,
135-
typically either a measurement of its <i>containing block</i>
136-
or an infinite size.
134+
The space into which a box is laid out.
135+
Unless otherwise specified, this is
136+
either a measurement of its <i>containing block</i> (if that is <i>definite</i>)
137+
or an infinite size (when it is <i>indefinite</i>).
137138
An <i>available size</i> can alternatively be either a
138139
<dfn>min-content constraint</dfn> or
139140
a <dfn>max-content constraint</dfn>.

0 commit comments

Comments
 (0)