Skip to content

Commit 85c604b

Browse files
committed
Changed 'flex-wrap:no-wrap' to 'flex-wrap:none', added issue about it.
1 parent e7111c6 commit 85c604b

2 files changed

Lines changed: 21 additions & 11 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -697,12 +697,12 @@ <h3 id=flex-flow><span class=secno>3.1. </span> Flexbox Flow Direction: the
697697
<tr>
698698
<th><a href="http://dev.w3.org/csswg/css-module/#values">Value</a>:
699699

700-
<td>no-wrap | wrap | wrap-reverse
700+
<td>none | wrap | wrap-reverse
701701

702702
<tr>
703703
<th>Initial:
704704

705-
<td>no-wrap
705+
<td>none
706706

707707
<tr>
708708
<th>Applies To:
@@ -827,14 +827,23 @@ <h3 id=flex-flow><span class=secno>3.1. </span> Flexbox Flow Direction: the
827827
class=property>flex-line-pack</code></a>&rsquo; properties.
828828

829829
<dl>
830-
<dt><dfn id=flex-flow-no-wrap>no-wrap</dfn>
830+
<dt><dfn id=flex-flow-none>none</dfn>
831831

832832
<dd>The flexbox is <a href="#single-line"><i>single-line</i></a>. The <a
833833
href="#cross-start"><i>cross-start</i></a> direction is equivalent to
834834
either the "start" or "before" direction of the current writing mode,
835835
whichever is in the <i>cross-axis</i>, and the <a
836836
href="#cross-end"><i>cross-end</i></a> direction is the opposite
837837
direction of <a href="#cross-start"><i>cross-start</i></a>.
838+
<p class=issue>For consistency with &lsquo;<code
839+
class=property>white-space</code>&rsquo;, we should use &lsquo;<code
840+
class=css>nowrap</code>&rsquo;. For consistency with &lsquo;<code
841+
class=property>text-wrap</code>&rsquo;, we should use &lsquo;<a
842+
href="#flex-flow-none"><code class=css>none</code></a>&rsquo;. &lsquo;<a
843+
href="#flex-flow-none"><code class=css>none</code></a>&rsquo; is the
844+
less dumb of these. Can we switch both this and &lsquo;<code
845+
class=property>text-wrap</code>&rsquo; to &lsquo;<code
846+
class=css>no-wrap</code>&rsquo;?</p>
838847

839848
<dt><dfn id=flex-flow-wrap>wrap</dfn>
840849

@@ -2464,9 +2473,9 @@ <h2 class=no-num id=property>Property index</h2>
24642473
<tr>
24652474
<th><a class=property href="#flex-wrap">flex-wrap</a>
24662475

2467-
<td>no-wrap | wrap | wrap-reverse
2476+
<td>none | wrap | wrap-reverse
24682477

2469-
<td>no-wrap
2478+
<td>none
24702479

24712480
<td>flexboxes
24722481

@@ -2620,8 +2629,7 @@ <h2 class=no-num id=index>Index</h2>
26202629
<li>negative flexibility, <a href="#negative-flexibility"
26212630
title="negative flexibility"><strong>4.</strong></a>
26222631

2623-
<li>no-wrap, <a href="#flex-flow-no-wrap"
2624-
title=no-wrap><strong>3.1.</strong></a>
2632+
<li>none, <a href="#flex-flow-none" title=none><strong>3.1.</strong></a>
26252633

26262634
<li>positive flexibility, <a href="#positive-flexibility"
26272635
title="positive flexibility"><strong>4.</strong></a>

css3-flexbox/Overview.src.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ <h3 id='flex-flow'>
292292
<td><dfn>flex-wrap</dfn>
293293
<tr>
294294
<th><a href="http://dev.w3.org/csswg/css-module/#values">Value</a>:
295-
<td>no-wrap | wrap | wrap-reverse
295+
<td>none | wrap | wrap-reverse
296296
<tr>
297297
<th>Initial:
298-
<td>no-wrap
298+
<td>none
299299
<tr>
300300
<th>Applies To:
301301
<td>flexboxes
@@ -359,8 +359,10 @@ <h3 id='flex-flow'>
359359
<p>The 'flex-wrap' property controls whether the flexbox is <i>single-line</i> or <i>multi-line</i>, and the direction of the <i>cross axis</i>, which affects the direction new lines are stacked in and the meaning of the 'flex-align', 'flex-item-align', and 'flex-line-pack' properties.</p>
360360

361361
<dl>
362-
<dt><dfn id='flex-flow-no-wrap'>no-wrap</dfn></dt>
363-
<dd>The flexbox is <i>single-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current writing mode, whichever is in the <i>cross-axis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.</dd>
362+
<dt><dfn id='flex-flow-none'>none</dfn></dt>
363+
<dd>The flexbox is <i>single-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current writing mode, whichever is in the <i>cross-axis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.
364+
<p class='issue'>For consistency with 'white-space', we should use ''nowrap''. For consistency with 'text-wrap', we should use ''none''. ''none'' is the less dumb of these. Can we switch both this and 'text-wrap' to ''no-wrap''?</p>
365+
</dd>
364366

365367
<dt><dfn id='flex-flow-wrap'>wrap</dfn></dt>
366368
<dd>The flexbox is <i>multi-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current writing mode, whichever is in the <i>cross-axis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.</dd>

0 commit comments

Comments
 (0)