flex-align:stretch can only stretch, not shrink 'auto' size

Mon, 12 Mar 2012 01:46:47 -0700

author
Alex Mogilevsky <alexmog@microsoft.com>
date
Mon, 12 Mar 2012 01:46:47 -0700
changeset 4732
a61a28fbe597
parent 4731
802c601e4ec0
child 4733
c4b58809692b

flex-align:stretch can only stretch, not shrink 'auto' size

css3-flexbox/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-flexbox/Overview.src.html	Mon Mar 12 01:34:37 2012 -0700
     1.2 +++ b/css3-flexbox/Overview.src.html	Mon Mar 12 01:46:47 2012 -0700
     1.3 @@ -1053,12 +1053,12 @@
     1.4  		<p>Determine the final cross size of each flexbox item.
     1.5  			<ol>
     1.6  				<li>If a flexbox item has ''flex-item-align:stretch&#39;&#39; and its 
     1.7 -				preferred cross size is &#39;auto and its margin-box cross size is 
     1.8 +				preferred cross size is &#39;auto&#39; and its margin-box cross size is 
     1.9  				smaller than cross-size of its flexbox line, its final cross size is 
    1.10  				set so that its margin-box cross size is equal to cross-size of its flexbox line.
    1.11  				<li>For all other flexbox items, its final cross size is its hypothetical cross size. 
    1.12  				</li>
    1.13 -				<li>If the resulting cross size of any item conflits with &#39;min-width&#39;, &#39;max-width&#39;, &#39;min-height&#39; or 
    1.14 +				<li>If the resulting cross size of any item conflicts with &#39;min-width&#39;, &#39;max-width&#39;, &#39;min-height&#39; or 
    1.15  				&#39;max-height&#39;, correct the result to comply with the restrictions.</li>
    1.16  			</ol>
    1.17  		</li>
    1.18 @@ -1169,7 +1169,6 @@
    1.19  			
    1.20  			<ol>
    1.21  				<li>In a row-direction single-line flexbox, breaks before and after items apply to the flexbox</li>
    1.22 -				<p class="issue">"break-inside:avoid" in single-line horizontal should probably be applied to flexbox too.</p>
    1.23  
    1.24  				<li>In column-direction single-line flexbox and all multi-line flexboxes:
    1.25  				
    1.26 @@ -1238,7 +1237,6 @@
    1.27  
    1.28  							<p class="note">After the break, continuation of overflow items may overlap with other items and/or content after the flexbox. It is undesirable but there is no good resolution for this spacial conflict and this outcome is similar to effect of "overflow:visible" elsewhere.</p>
    1.29  						</li>
    1.30 -							</ol>
    1.31  						</li>
    1.32  					</ol>
    1.33  				</li>
    1.34 @@ -1276,7 +1274,7 @@
    1.35  		</li>
    1.36  
    1.37  		<li>
    1.38 -			<b>Row-direction flexbox:multi-line</b>
    1.39 +			<b>Row-direction flexbox: multi-line</b>
    1.40  
    1.41  			<ol>
    1.42  				<li>Collect items into lines and determine line heights:
    1.43 @@ -1307,7 +1305,6 @@
    1.44  				that have fit on the current page.</li>
    1.45  
    1.46  				<li>Line packing is done on each page, with content on the page</li>
    1.47 -				<p class="issue">TODO: combine breaking algorithms for multiline in both directions. If breaks inside items are not allowed the algorithm is almost same.</p>
    1.48  			</ol>
    1.49  		</li>
    1.50  	</ol>

mercurial