You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-flexbox/Overview.src.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -600,13 +600,13 @@ <h2 id='flexibility'>
600
600
601
601
<p><code><pos-flex></code> and <code><neg-flex></code> are non-negative <code><number>s</code>. The <code><pos-flex></code> component sets the <i>positive flexibility</i>; if omitted, the <i>positive flexibility</i> defaults to ''1''. The <code><neg-flex></code> component sets the <i>negative flexibility</i>; if omitted, it defaults to ''0''.</p>
602
602
603
-
<p>The <code><preferred-size></code> component sets the preferred size. It can be set to any value that would be valid in the 'width' or 'height' property, except values that are not applicable to a component value (of values defined in CSS2.1, only 'inherit' is not valid for <code><preferred-size></code>; in the future other values may be introduced that are not applicable as length component). If omitted, the preferred size defaults to ''0px''. If the <code><preferred-size></code> component is ''auto'' on a <i>flexbox item</i>, the <i>preferred size</i> is the <i>main size property</i>'s value.</p>
603
+
<p>The <code><preferred-size></code> component sets the preferred size. It can be set to any value that would be valid in the 'width' or 'height' property, except values that are not applicable to a component value (of values defined in CSS2.1, only 'inherit' is not valid for <code><preferred-size></code>; in the future other values may be introduced that are not applicable as length component). If omitted, the preferred size defaults to ''0px''. If the <code><preferred-size></code> component is ''auto'' on a child of a <i>flexbox</i>, the <i>preferred size</i> is the <i>main size property</i>'s value.</p>
604
604
605
605
<p>If the <code><preferred-size></code> is ''0'', it <strong>must</strong> be specified with a unit (like ''0px'') to avoid ambiguity; unitless zero will either be interpreted as as one of the flexibilities, or is a syntax error.</p>
606
606
607
607
<p>The keyword 'none' computes to "0 0 auto". </p>
608
608
609
-
<p>The 'flex' property is transitionable if the element is a <i>flexbox item</i> and the <i>preferred size</i> is transitionable, by transitioning the <i>positive flexibility</i>, <i>negative flexibility</i>, and <i>preferred size</i> independently.</p>
609
+
<p>The 'flex' property is transitionable if the element is a child of a <i>flexbox</i> and the <i>preferred size</i> is transitionable, by transitioning the <i>positive flexibility</i>, <i>negative flexibility</i>, and <i>preferred size</i> independently.</p>
610
610
611
611
<divclass='example'>
612
612
<p>Flexibility allows elements to respond directly to the available space,
0 commit comments