Skip to content

Commit 9c57304

Browse files
committed
[css-grid] Remove lingering references to measure and extent.
1 parent 4c48bd7 commit 9c57304

2 files changed

Lines changed: 10 additions & 14 deletions

File tree

css-grid/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,10 @@ Track Sizing: the 'grid-template-rows' and 'grid-template-columns' properties</h
782782
<dt><dfn><<percentage>></dfn>
783783
<dd>
784784
A non-negative percentage, as defined by CSS3 Values. [[!CSS3VAL]]
785-
<<percentage>> values are relative to the measure (logical width) of the <a>grid container</a> in column <a>grid tracks</a>,
786-
and the extent (logical height) of the <a>grid container</a> in row <a>grid tracks</a>.
787-
If the measure or extent of the <a>grid container</a> is an <a href="http://www.w3.org/TR/css3-sizing/#indefinite-size">indefinite size</a>,
785+
<<percentage>> values are relative to the <a>inline size</a> of the <a>grid container</a> in column <a>grid tracks</a>,
786+
and the <a>block size</a> of the <a>grid container</a> in row <a>grid tracks</a>.
787+
If the <a title="inline size">inline</a> or <a>block size</a> of the <a>grid container</a>
788+
is <a>indefinite</a>,
788789
<<percentage>> values relative to that size are treated as <a value for=width>auto</a>
789790
(or, if in a ''minmax()'' function, as ''min-content'' when in the first position
790791
and as ''max-content'' when in the second).
@@ -1934,7 +1935,7 @@ Auto Sizing Subgrids</h4>
19341935
and its span is the resulting size of its grid.
19351936

19361937
<div class='example'>
1937-
For example, a subgrid spanning two columns can be given an auto-spanning <i>extent</i>:
1938+
For example, a subgrid spanning two columns can be given an auto-spanning <a>block size</a>:
19381939
<pre>
19391940
.adverts {
19401941
grid: subgrid;

css-grid/Overview.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -915,9 +915,10 @@ <h3 class="heading settled" data-level=5.1 id=track-sizing><span class=secno>5.1
915915
<dt><dfn class=css data-dfn-for="grid-template-columns grid-template-rows" data-dfn-type=value data-export="" id=valdef-grid-template-columns-grid-template-rows-percentage><a class="production css" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#percentage-value title="<percentage>">&lt;percentage&gt;</a><a class=self-link href=#valdef-grid-template-columns-grid-template-rows-percentage></a></dfn>
916916
<dd>
917917
A non-negative percentage, as defined by CSS3 Values. <a data-biblio-type=normative data-link-type=biblio href=#biblio-css3val title=biblio-CSS3VAL>[CSS3VAL]</a>
918-
<a class="production css" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#percentage-value title="<percentage>">&lt;percentage&gt;</a> values are relative to the measure (logical width) of the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a> in column <a data-link-type=dfn href=#grid-track title="grid tracks">grid tracks</a>,
919-
and the extent (logical height) of the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a> in row <a data-link-type=dfn href=#grid-track title="grid tracks">grid tracks</a>.
920-
If the measure or extent of the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a> is an <a href=http://www.w3.org/TR/css3-sizing/#indefinite-size>indefinite size</a>,
918+
<a class="production css" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#percentage-value title="<percentage>">&lt;percentage&gt;</a> values are relative to the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-writing-modes-3/#inline-size title="inline size">inline size</a> of the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a> in column <a data-link-type=dfn href=#grid-track title="grid tracks">grid tracks</a>,
919+
and the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-writing-modes-3/#block-size title="block size">block size</a> of the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a> in row <a data-link-type=dfn href=#grid-track title="grid tracks">grid tracks</a>.
920+
If the <a data-link-type=dfn href=http://dev.w3.org/csswg/css-writing-modes-3/#inline-size title="inline size">inline</a> or <a data-link-type=dfn href=http://dev.w3.org/csswg/css-writing-modes-3/#block-size title="block size">block size</a> of the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a>
921+
is <a data-link-type=dfn href=http://dev.w3.org/csswg/css-sizing-3/#indefinite title=indefinite>indefinite</a>,
921922
<a class="production css" data-link-type=type href=http://dev.w3.org/csswg/css-values-3/#percentage-value title="<percentage>">&lt;percentage&gt;</a> values relative to that size are treated as <a class=css data-link-for=width data-link-type=value title=auto>auto</a>
922923
(or, if in a <a class=css data-link-type=maybe href=#valdef-grid-template-columns-grid-template-rows-minmax title=minmax()>minmax()</a> function, as <a class=css data-link-type=maybe href=#valdef-grid-template-columns-grid-template-rows-min-content title=min-content>min-content</a> when in the first position
923924
and as <a class=css data-link-type=maybe href=#valdef-grid-template-columns-grid-template-rows-max-content title=max-content>max-content</a> when in the second).
@@ -1089,12 +1090,6 @@ <h4 class="heading settled" data-level=5.1.2 id=repeat-notation><span class=secn
10891090
<p class=note>Note: It is expected that a future level of this specification will define a value to be inserted between the repetitions,
10901091
similar to the argument of the <code>Array#join</code> method in JavaScript.</p>
10911092

1092-
<p>Implementations may cap the maximum number of repetitions they allow.
1093-
If they do so, they must support at least 10000 repetitions,
1094-
and if the number of repetitions is greater than the implementation’s maximum,
1095-
the value must be capped to the implementation’s maximum
1096-
(rather than being invalid, overflowing, or some other behavior).</p>
1097-
10981093
<h4 class="heading settled" data-level=5.1.3 id=fr-unit><span class=secno>5.1.3 </span><span class=content>
10991094
Flexible Lengths: the <span class=css>fr</span> unit</span><a class=self-link href=#fr-unit></a></h4>
11001095

@@ -1996,7 +1991,7 @@ <h4 class="heading settled" data-level=8.1.5 id=common-uses-auto-sizing><span cl
19961991
and its span is the resulting size of its grid.</p>
19971992

19981993
<div class=example>
1999-
For example, a subgrid spanning two columns can be given an auto-spanning <i data-link-type=dfn title=extent>extent</i>:
1994+
For example, a subgrid spanning two columns can be given an auto-spanning <a data-link-type=dfn href=http://dev.w3.org/csswg/css-writing-modes-3/#block-size title="block size">block size</a>:
20001995
<pre>.adverts {
20011996
grid: subgrid;
20021997
grid-column: span 2;

0 commit comments

Comments
 (0)