Skip to content

Commit 1902735

Browse files
committed
Reword the transitioning line and prose for 'flex'.
1 parent a609f84 commit 1902735

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,8 @@ <h2 id=flexibility><span class=secno>7. </span> Flexibility: the &lsquo;<a
12101210
<tr>
12111211
<th>Animatable:
12121212

1213-
<td>yes
1213+
<td>yes, as &lt;number> and &lt;length> or &lt;percentage>, but see
1214+
prose
12141215
</table>
12151216

12161217
<p>The &lsquo;<a href="#flex"><code class=property>flex</code></a>&rsquo;
@@ -1261,15 +1262,12 @@ <h2 id=flexibility><span class=secno>7. </span> Flexibility: the &lsquo;<a
12611262
<p>The keyword &lsquo;<code class=property>none</code>&rsquo; computes to
12621263
"0 0 auto".
12631264

1264-
<p>A &lsquo;<code class=css>&lt;flex></code>&rsquo; value is
1265-
transitionable, by transitioning the <a
1266-
href="#preferred-size"><i>preferred size</i></a>, <a
1267-
href="#positive-flexibility"><i>positive flexibility</i></a>, and <a
1268-
href="#negative-flexibility"><i>negative flexibility</i></a>
1269-
independently. &lsquo;<code class=css>&lt;flex></code>&rsquo; can also
1270-
transition to and from a &lt;length>, by treating the length as if it were
1271-
a flexible length with a positive and negative flexibility of zero and a
1272-
preferred size of the length.
1265+
<p>The &lsquo;<a href="#flex"><code class=property>flex</code></a>&rsquo;
1266+
property is transitionable if the <a href="#preferred-size"><i>preferred
1267+
size</i></a> is transitionable, by transitioning the <a
1268+
href="#positive-flexibility"><i>positive flexibility</i></a>, <a
1269+
href="#negative-flexibility"><i>negative flexibility</i></a>, and <a
1270+
href="#preferred-size"><i>preferred size</i></a> independently.
12731271

12741272
<div class=example>
12751273
<p>Flexibility allows elements to respond directly to the available space,

css3-flexbox/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ <h2 id='flexibility'>
593593
<td>visual
594594
<tr>
595595
<th>Animatable:
596-
<td>yes
596+
<td>yes, as &lt;number> and &lt;length> or &lt;percentage>, but see prose
597597
</table>
598598

599599
<p>The 'flex' property specifies the parameters of a <dfn title="flexible length|flexible lengths|flexible length's">flexible length</dfn>: the <dfn id="positive-flexibility" title="positive flexibility">positive</dfn> and <dfn>negative flexibility</dfn>, and the <dfn>preferred size</dfn>. When the element containing 'flex' is a <i>flexbox item</i>, 'flex' is consulted <em>instead of</em> the <i>main size property</i> to determine the <i>main size</i> of the element. If an element is not a <i>flexbox item</i>, 'flex' has no effect.</p>
@@ -605,8 +605,8 @@ <h2 id='flexibility'>
605605
<p>If the <code>&lt;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>
606606

607607
<p>The keyword 'none' computes to "0 0 auto". </p>
608-
609-
<p>A ''&lt;flex>'' value is transitionable, by transitioning the <i>preferred size</i>, <i>positive flexibility</i>, and <i>negative flexibility</i> independently. ''&lt;flex>'' can also transition to and from a &lt;length>, by treating the length as if it were a flexible length with a positive and negative flexibility of zero and a preferred size of the length.</p>
608+
609+
<p>The 'flex' property is transitionable if 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>
610610

611611
<div class='example'>
612612
<p>Flexibility allows elements to respond directly to the available space,

0 commit comments

Comments
 (0)