[css-grid] Improve sizing of grid containers a bit.

Fri, 18 Apr 2014 09:22:14 -0700

author
fantasai <fantasai.cvs@inkedblade.net>
date
Fri, 18 Apr 2014 09:22:14 -0700
changeset 13761
d78ceb0457cc
parent 13760
f5df49da3738
child 13762
553b6af41437

[css-grid] Improve sizing of grid containers a bit.

css-grid/Overview.bs file | annotate | diff | comparison | revisions
css-grid/Overview.html file | annotate | diff | comparison | revisions
     1.1 --- a/css-grid/Overview.bs	Fri Apr 18 09:11:32 2014 -0700
     1.2 +++ b/css-grid/Overview.bs	Fri Apr 18 09:22:14 2014 -0700
     1.3 @@ -542,10 +542,13 @@
     1.4  
     1.5  	A <i>grid container</i> is sized
     1.6  	using the rules of the formatting context in which it participates.
     1.7 -	In a <a>block formatting context</a>,
     1.8 -	a <a>grid container’s</a> ''auto'' block size
     1.9 -	is its max-content block size.
    1.10 -	<span class="issue">The block layout spec should define this.</span>
    1.11 +	As a block-level box in a <a>block formatting context</a>,
    1.12 +	it is sized like any other block-level box that establishes a formatting context,
    1.13 +	and as an inline-level box in an inline formatting context
    1.14 +	it is sized as an atomic inline-level box (such as an inline-block).
    1.15 +	In both inline and block formatting contexts,
    1.16 +	the <i>grid container</i>’s ''auto'' block size is its max-content size.
    1.17 +	<span class="issue">The block layout spec should define this?</span>
    1.18  
    1.19  	Grid containers are not block containers,
    1.20  	and so some properties that were designed with the assumption of block layout
     2.1 --- a/css-grid/Overview.html	Fri Apr 18 09:11:32 2014 -0700
     2.2 +++ b/css-grid/Overview.html	Fri Apr 18 09:22:14 2014 -0700
     2.3 @@ -701,10 +701,13 @@
     2.4  
     2.5  <p>	A <a data-link-type=dfn href=#grid-container title="grid container">grid container</a> is sized
     2.6  	using the rules of the formatting context in which it participates.
     2.7 -	In a <a data-link-type=dfn title="block formatting context">block formatting context</a>,
     2.8 -	a <a data-link-type=dfn href=#grid-container title="grid container’s">grid container’s</a> <a class=css data-link-type=maybe href=#valuedef-auto title=auto>auto</a> block size
     2.9 -	is its max-content block size.
    2.10 -	<span class=issue id=issue-8669c070><a class=self-link href=#issue-8669c070></a>The block layout spec should define this.</span>
    2.11 +	As a block-level box in a <a data-link-type=dfn title="block formatting context">block formatting context</a>,
    2.12 +	it is sized like any other block-level box that establishes a formatting context,
    2.13 +	and as an inline-level box in an inline formatting context
    2.14 +	it is sized as an atomic inline-level box (such as an inline-block).
    2.15 +	In both inline and block formatting contexts,
    2.16 +	the <a data-link-type=dfn href=#grid-container title="grid container">grid container</a>’s <a class=css data-link-type=maybe href=#valuedef-auto title=auto>auto</a> block size is its max-content size.
    2.17 +	<span class=issue id=issue-839d056f><a class=self-link href=#issue-839d056f></a>The block layout spec should define this?</span>
    2.18  
    2.19  <p>	Grid containers are not block containers,
    2.20  	and so some properties that were designed with the assumption of block layout
    2.21 @@ -3345,7 +3348,7 @@
    2.22  <tr><th scope=row><a class=css-code data-link-type=property href=#propdef-grid-area title=grid-area>grid-area</a><td>&lt;grid-line&gt; [ / &lt;grid-line&gt; ]{0,3}<td>see individual properties<td>grid items<td>see individual properties<td>see individual properties<td>visual<td>see individual properties</table></div>
    2.23  
    2.24  
    2.25 -<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>The block layout spec should define this.<a href=#issue-8669c070> ↵ </a></div>
    2.26 +<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>The block layout spec should define this?<a href=#issue-839d056f> ↵ </a></div>
    2.27  
    2.28  <div class=issue>
    2.29  		We want the ability to collapse grid tracks

mercurial