Skip to content

Commit a9e97c6

Browse files
committed
Changing the wrap-flow property values 'left' and 'right' to 'start' and 'end'.
1 parent 1c8217c commit a9e97c6

2 files changed

Lines changed: 47 additions & 46 deletions

File tree

css3-exclusions/Exclusions.src.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ <h4 id="wrap-flow-property">The 'wrap-flow' property</h4>
220220
</tr>
221221
<tr>
222222
<th>Value:</th>
223-
<td><var>auto</var> | <var>both</var> | <var>left</var> | <var>right</var> | <var>maximum</var> | <var>clear</var></td>
223+
<td><var>auto</var> | <var>both</var> | <var>start</var> | <var>end</var> | <var>maximum</var> | <var>clear</var></td>
224224
</tr>
225225
<tr>
226226
<th>Initial:</th>
@@ -258,31 +258,31 @@ <h4 id="wrap-flow-property">The 'wrap-flow' property</h4>
258258
<dd>
259259
Inline flow content can flow on all sides of the exclusion.
260260
</dd>
261-
<dt><dfn title="'wrap-flow'!!'left'">left</dfn></dt>
261+
<dt><dfn title="'wrap-flow'!!'start'">start</dfn></dt>
262262
<dd>
263-
Inline flow content can wrap on the left side of the exclusion but must leave
264-
the area to the right of the exclusion empty.
263+
Inline flow content can wrap on the start edge of the exclusion area but must leave
264+
the area to end edge of the exclusion area empty.
265265
</dd>
266-
<dt><dfn title="'wrap-flow'!!'right'">right</dfn></dt>
266+
<dt><dfn title="'wrap-flow'!!'end'">end</dfn></dt>
267267
<dd>
268-
Inline flow content can wrap on the right side of the exclusion but must leave
269-
the area to the left of the exclusion empty.
268+
Inline flow content can wrap on the end side of the exclusion area but must leave
269+
the area to the start edge of the exclusion area empty.
270270
</dd>
271271
<dt><dfn title="'wrap-flow'!!'maximum'">maximum</dfn></dt>
272272
<dd>
273273
Inline flow content can wrap on the side of the exclusion with the largest
274274
available space for the given line, and must leave the other side of the exclusion
275-
empty..
275+
empty.
276276
</dd>
277277
<dt><dfn title="'wrap-flow'!!'clear'">clear</dfn></dt>
278278
<dd>
279279
Inline flow content can only wrap on top and bottom of the exclusion and must leave
280-
the areas to the left and right of the exclusion empty.
280+
the areas to the start and end edges of the exclusion box empty.
281281
</dd>
282282
</dl>
283283

284284
<p>
285-
Setting the 'wrap-flow' property to 'both', 'left', 'right', 'maximum' or 'clear' on an
285+
Setting the 'wrap-flow' property to 'both', 'start', 'end', 'maximum' or 'clear' on an
286286
element makes that element an <span>exclusion element</a>. It's <span>exclusion shape</span>
287287
is contributed to its containing block's wrapping context, causing the containing block's descendants
288288
to wrap around its exclusion area.
@@ -311,10 +311,10 @@ <h4 id="wrap-flow-property">The 'wrap-flow' property</h4>
311311
<p>The above figure illustrates how exclusions combine. The red box represents an element's
312312
content box. The A, B, C and D darker gray boxes represent exclusions in the element's
313313
wrapping context. A, B, C and D have their respective
314-
'wrap-flow' set to 'both', 'left', 'right' and 'clear' respectively. The lighter gray
314+
'wrap-flow' set to 'both', 'start', 'end' and 'clear' respectively. The lighter gray
315315
areas show the additional areas that are excluded for inline layout as a result of the
316316
'wrap-flow' value. For example, the area to the right of 'B' cannot be used for inline
317-
layout because the 'wrap-flow' for 'B' is 'left'.</p>
317+
layout because the 'wrap-flow' for 'B' is 'start'.</p>
318318

319319
<p>The background 'blue' area shows what areas are available for inline content layout.
320320
All areas represented with a light or dark shade of gray are not available for inline
@@ -349,12 +349,12 @@ <h4 id="wrap-flow-property">The 'wrap-flow' property</h4>
349349
<td><img src="images/exclusion_wrap_side_both.png" alt="Example rendering for wrap-side: both" /></td>
350350
</tr>
351351
<tr>
352-
<td><code class="html">#exclusion{ wrap-flow: left; }</code></td>
353-
<td><code class="html">#exclusion{ wrap-flow: right; }</code></td>
352+
<td><code class="html">#exclusion{ wrap-flow: start; }</code></td>
353+
<td><code class="html">#exclusion{ wrap-flow: end; }</code></td>
354354
</tr>
355355
<tr>
356-
<td><img src="images/exclusion_wrap_side_left.png" alt="Example rendering for wrap-side: left" /></td>
357-
<td><img src="images/exclusion_wrap_side_right.png" alt="Example rendering for wrap-side: right" /></td>
356+
<td><img src="images/exclusion_wrap_side_left.png" alt="Example rendering for wrap-side: start" /></td>
357+
<td><img src="images/exclusion_wrap_side_right.png" alt="Example rendering for wrap-side: end" /></td>
358358
</tr>
359359
<tr>
360360
<td><code class="html">#exclusion{ wrap-flow: maximum; }</code></td>
@@ -938,7 +938,7 @@ <h4 id="shape-outside-property">The 'shape-outside' Property</h4>
938938
<p>The above figure shows how 'shape-outside' shapes impact the exclusion areas.
939939
The red box represents an element's content box and 'A', 'B', 'C' and 'C'
940940
represent exclusions with a complex shape and their 'wrap-flow' property set
941-
to 'both', 'left', 'right' and 'clear', respectively.</p>
941+
to 'both', 'start', 'end' and 'clear', respectively.</p>
942942

943943
<p>As illustrated in the picture, when an exclusion allows wrapping on all sides,
944944
text can flow inside 'holes' in the exclusion (as for exclusion 'A'). Otherwise,

css3-exclusions/Overview.html

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@
8787

8888
<h1 id=css-exclusions-module>CSS exclusions and shapes</h1>
8989

90-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 31 October
90+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 November
9191
2011</h2>
9292

9393
<dl>
9494
<dt>This version:
9595

9696
<dd><a
97-
href="http://www.w3.org/TR/2011/ED-css3-exclusions-20111031/">http://www.w3.org/csswg/css3-exclusions/</a>
97+
href="http://www.w3.org/TR/2011/ED-css3-exclusions-20111115/">http://www.w3.org/csswg/css3-exclusions/</a>
9898

9999
<dt>Latest version:
100100

@@ -447,8 +447,8 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The &lsquo;<a
447447
<tr>
448448
<th>Value:
449449

450-
<td><var>auto</var> | <var>both</var> | <var>left</var> |
451-
<var>right</var> | <var>maximum</var> | <var>clear</var>
450+
<td><var>auto</var> | <var>both</var> | <var>start</var> |
451+
<var>end</var> | <var>maximum</var> | <var>clear</var>
452452

453453
<tr>
454454
<th>Initial:
@@ -495,33 +495,34 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The &lsquo;<a
495495

496496
<dd> Inline flow content can flow on all sides of the exclusion.
497497

498-
<dt><dfn id=left title="'wrap-flow'!!'left'">left</dfn>
498+
<dt><dfn id=start title="'wrap-flow'!!'start'">start</dfn>
499499

500-
<dd> Inline flow content can wrap on the left side of the exclusion but
501-
must leave the area to the right of the exclusion empty.
500+
<dd> Inline flow content can wrap on the start edge of the exclusion box
501+
but must leave the area to end edge of the exclusion box empty.
502502

503-
<dt><dfn id=right title="'wrap-flow'!!'right'">right</dfn>
503+
<dt><dfn id=end title="'wrap-flow'!!'end'">end</dfn>
504504

505-
<dd> Inline flow content can wrap on the right side of the exclusion but
506-
must leave the area to the left of the exclusion empty.
505+
<dd> Inline flow content can wrap on the end side of the exclusion box but
506+
must leave the area to the start edge of the exclusion box empty.
507507

508508
<dt><dfn id=maximum title="'wrap-flow'!!'maximum'">maximum</dfn>
509509

510510
<dd> Inline flow content can wrap on the side of the exclusion with the
511511
largest available space for the given line, and must leave the other side
512-
of the exclusion empty..
512+
of the exclusion empty.
513513

514514
<dt><dfn id=clear title="'wrap-flow'!!'clear'">clear</dfn>
515515

516516
<dd> Inline flow content can only wrap on top and bottom of the exclusion
517-
and must leave the areas to the left and right of the exclusion empty.
517+
and must leave the areas to the start and end edges of the exclusion box
518+
empty.
518519
</dl>
519520

520-
<p id=setting-the-wrap-flow-property-to-both-l> Setting the &lsquo;<a
521+
<p id=setting-the-wrap-flow-property-to-both-s> Setting the &lsquo;<a
521522
href="#wrap-flow"><code class=property>wrap-flow</code></a>&rsquo;
522523
property to &lsquo;<code class=property>both</code>&rsquo;, &lsquo;<code
523-
class=property>left</code>&rsquo;, &lsquo;<code
524-
class=property>right</code>&rsquo;, &lsquo;<code
524+
class=property>start</code>&rsquo;, &lsquo;<code
525+
class=property>end</code>&rsquo;, &lsquo;<code
525526
class=property>maximum</code>&rsquo; or &lsquo;<code
526527
class=property>clear</code>&rsquo; on an element makes that element an
527528
<span>exclusion element. It's <span>exclusion shape</span> is contributed
@@ -559,8 +560,8 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The &lsquo;<a
559560
&lsquo;<a href="#wrap-flow"><code
560561
class=property>wrap-flow</code></a>&rsquo; set to &lsquo;<code
561562
class=property>both</code>&rsquo;, &lsquo;<code
562-
class=property>left</code>&rsquo;, &lsquo;<code
563-
class=property>right</code>&rsquo; and &lsquo;<code
563+
class=property>start</code>&rsquo;, &lsquo;<code
564+
class=property>end</code>&rsquo; and &lsquo;<code
564565
class=property>clear</code>&rsquo; respectively. The lighter gray areas
565566
show the additional areas that are excluded for inline layout as a result
566567
of the &lsquo;<a href="#wrap-flow"><code
@@ -569,7 +570,7 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The &lsquo;<a
569570
used for inline layout because the &lsquo;<a href="#wrap-flow"><code
570571
class=property>wrap-flow</code></a>&rsquo; for &lsquo;<code
571572
class=property>B</code>&rsquo; is &lsquo;<code
572-
class=property>left</code>&rsquo;.</p>
573+
class=property>start</code>&rsquo;.</p>
573574

574575
<p id=the-background-blue-area-shows-what-area>The background &lsquo;<code
575576
class=property>blue</code>&rsquo; area shows what areas are available for
@@ -612,15 +613,15 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The &lsquo;<a
612613
src="images/exclusion_wrap_side_both.png">
613614

614615
<tr>
615-
<td><code class=html>#exclusion{ wrap-flow: left; }</code>
616+
<td><code class=html>#exclusion{ wrap-flow: start; }</code>
616617

617-
<td><code class=html>#exclusion{ wrap-flow: right; }</code>
618+
<td><code class=html>#exclusion{ wrap-flow: end; }</code>
618619

619620
<tr>
620-
<td><img alt="Example rendering for wrap-side: left"
621+
<td><img alt="Example rendering for wrap-side: start"
621622
src="images/exclusion_wrap_side_left.png">
622623

623-
<td><img alt="Example rendering for wrap-side: right"
624+
<td><img alt="Example rendering for wrap-side: end"
624625
src="images/exclusion_wrap_side_right.png">
625626

626627
<tr>
@@ -1374,8 +1375,8 @@ <h4 id=shape-outside-property><span class=secno>4.3.1. </span>The &lsquo;<a
13741375
and their &lsquo;<a href="#wrap-flow"><code
13751376
class=property>wrap-flow</code></a>&rsquo; property set to &lsquo;<code
13761377
class=property>both</code>&rsquo;, &lsquo;<code
1377-
class=property>left</code>&rsquo;, &lsquo;<code
1378-
class=property>right</code>&rsquo; and &lsquo;<code
1378+
class=property>start</code>&rsquo;, &lsquo;<code
1379+
class=property>end</code>&rsquo; and &lsquo;<code
13791380
class=property>clear</code>&rsquo;, respectively.</p>
13801381

13811382
<p id=as-illustrated-in-the-picture-when-an-ex>As illustrated in the
@@ -1950,15 +1951,15 @@ <h2 class=no-num id=index>Index</h2>
19501951
<li>&lsquo;<code class=property>clear</code>&rsquo;, <a href="#clear"
19511952
title="'wrap-flow', 'clear'"><strong>3.1.1.</strong></a>
19521953

1953-
<li>&lsquo;<code class=property>left</code>&rsquo;, <a href="#left"
1954-
title="'wrap-flow', 'left'"><strong>3.1.1.</strong></a>
1954+
<li>&lsquo;<code class=property>end</code>&rsquo;, <a href="#end"
1955+
title="'wrap-flow', 'end'"><strong>3.1.1.</strong></a>
19551956

19561957
<li>&lsquo;<code class=property>maximum</code>&rsquo;, <a
19571958
href="#maximum"
19581959
title="'wrap-flow', 'maximum'"><strong>3.1.1.</strong></a>
19591960

1960-
<li>&lsquo;<code class=property>right</code>&rsquo;, <a href="#right"
1961-
title="'wrap-flow', 'right'"><strong>3.1.1.</strong></a>
1961+
<li>&lsquo;<code class=property>start</code>&rsquo;, <a href="#start"
1962+
title="'wrap-flow', 'start'"><strong>3.1.1.</strong></a>
19621963
</ul>
19631964

19641965
<li>&lsquo;<a href="#wrap-margin"><code
@@ -2071,7 +2072,7 @@ <h2 class=no-num id=property-index>Property index</h2>
20712072
<tr>
20722073
<th><a class=property href="#wrap-flow">wrap-flow</a>
20732074

2074-
<td>auto | both | left | right | maximum | clear
2075+
<td>auto | both | start | end | maximum | clear
20752076

20762077
<td>auto
20772078

0 commit comments

Comments
 (0)