Skip to content

Commit b7ed7c7

Browse files
committed
spanify all the exclusion areas
1 parent c3d3b81 commit b7ed7c7

2 files changed

Lines changed: 63 additions & 46 deletions

File tree

css3-exclusions/Exclusions.src.html

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ <h2 id="definitions">Definitions</h2>
131131
</div>
132132
<p>
133133
The area used for excluding inline flow content around an exclusion box. The
134-
exclusion area is equivalent to the <a href="http://www.w3.org/TR/CSS2/box.html#box-dimensions">
134+
<span>exclusion area</span> is equivalent to the <a href="http://www.w3.org/TR/CSS2/box.html#box-dimensions">
135135
border box</a>.
136136
This specification's
137137
'shape-outside' property can be used to define arbitrary, non-rectangular exclusion
@@ -201,14 +201,14 @@ <h2 id="definitions">Definitions</h2>
201201

202202
<h2 id="exclusions">Exclusions</h2>
203203
<p>
204-
Exclusion elements define exclusion areas that contribute to their containing block's
204+
Exclusion elements define <span>exclusion areas</span> that contribute to their containing block's
205205
<span>wrapping context</span>. As a consequence, exclusions impact the layout of their
206206
containing block's descendants.
207207
<p>
208208

209209
<p>
210210
Elements layout their inline content in their <span>content area</span> and wrap around the
211-
areas in their associated <span>wrapping context</span>. If the element is itself an exclusion, it
211+
<span>exclusion areas</span> in their associated <span>wrapping context</span>. If the element is itself an exclusion, it
212212
does not wrap around its own exclusion shape and the impact of other exclusions on other
213213
exclusions is controlled by the 'z-index' property as explained in the
214214
<a href="#exclusions-order">exclusions order</a> section.
@@ -282,12 +282,12 @@ <h4 id="wrap-flow-property">The 'wrap-flow' property</h4>
282282
</dd>
283283
<dt><dfn title="'wrap-flow'!!'start'">start</dfn></dt>
284284
<dd>
285-
Inline flow content can flow before the start edge of the exclusion area but
285+
Inline flow content can flow before the start edge of the <span>exclusion area</span> but
286286
must leave the area after the end edge of the exclusion empty.
287287
</dd>
288288
<dt><dfn title="'wrap-flow'!!'end'">end</dfn></dt>
289289
<dd>
290-
Inline flow content can flow after the end edge of the exclusion area but
290+
Inline flow content can flow after the end edge of the <span>exclusion area</span> but
291291
must leave the area before the start edge of the exclusion empty.
292292
</dd>
293293
<dt><dfn title="'wrap-flow'!!'minimum'">minimum</dfn></dt>
@@ -319,7 +319,7 @@ <h4 id="wrap-flow-property">The 'wrap-flow' property</h4>
319319
'maximum' or 'clear' on an element makes that element an <span>exclusion element</a>.
320320
It's <span>exclusion shape</span> is contributed to its containing block's
321321
<span>wrapping context</span>, causing the containing block's descendants to wrap around
322-
its exclusion area.
322+
its <span>exclusion area</span>.
323323
</p>
324324

325325
<p>An <span>exclusion element</span> establishes a
@@ -822,7 +822,7 @@ <h4 id="exclusions-processing-model-description">Description</h4>
822822
<li><strong>Step 2</strong>: resolve <span>wrapping context</span>s and lay out each containing block in turn:
823823
<ul>
824824
<li><strong>Step 2-A</strong>: resolve the position and size of exclusion boxes</li>
825-
<li><strong>Step 2-B</strong>: lay out containing block, wrapping around exclusion areas</li>
825+
<li><strong>Step 2-B</strong>: lay out containing block, wrapping around <span>exclusion areas</span></li>
826826
</ul>
827827
</li>
828828
</ul>
@@ -1071,7 +1071,7 @@ <h3 id="floats-and-exclusions">Floats and exclusions</h3>
10711071
<h4 id="floats-and-exclusions-similarities">Similarities</h4>
10721072

10731073
<p>There are similarities between floats an exclusions in that inline content wraps around floats
1074-
and also wraps around exclusion areas. However, there are very significant differences.</p>
1074+
and also wraps around <span>exclusion areas</span>. However, there are very significant differences.</p>
10751075

10761076
<h4 id="floats-and-exclusions-differences">Differences</h4>
10771077

@@ -1469,15 +1469,27 @@ <h4 id="shape-outside-property">The 'shape-outside' Property</h4>
14691469
</div>
14701470

14711471
<div>
1472-
<p>The above figure shows how 'shape-outside' shapes impact the exclusion areas.
1473-
The red box represents an element's content box and 'A', 'B', 'C' and 'C'
1474-
represent exclusions with a complex shape and their 'wrap-flow' property set
1475-
to 'both', 'start', 'end' and 'clear', respectively.</p>
1472+
<p>The above figure shows how
1473+
'shape-outside' shapes
1474+
impact the <span>exclusion areas</span>.
1475+
The red box represents an element's content box
1476+
and 'A', 'B', 'C' and 'C' represent exclusions
1477+
with a complex shape
1478+
and their 'wrap-flow' property
1479+
set to 'both', 'start', 'end' and 'clear',
1480+
respectively.</p>
14761481

1477-
<p>As illustrated in the picture, when an exclusion allows wrapping on all sides,
1478-
text can flow inside 'holes' in the exclusion (as for exclusion 'A'). Otherwise,
1479-
the exclusion clears the area on the side(s) defined by 'wrap-flow', as illustrated
1480-
for 'B', 'C' and 'D' above.</p>
1482+
<p>As illustrated in the picture,
1483+
when an exclusion allows wrapping
1484+
on all sides,
1485+
text can flow inside 'holes'
1486+
in the exclusion
1487+
(as for exclusion 'A').
1488+
Otherwise, the exclusion clears
1489+
the area on the side(s)
1490+
defined by 'wrap-flow',
1491+
as illustrated
1492+
for 'B', 'C' and 'D' above.</p>
14811493
</div>
14821494
<!-- End section "The shape-outside Property" -->
14831495

css3-exclusions/Overview.html

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ <h2 id=definitions><span class=secno>2. </span>Definitions</h2>
393393
</div>
394394

395395
<p> The area used for excluding inline flow content around an exclusion
396-
box. The exclusion area is equivalent to the <a
397-
href="http://www.w3.org/TR/CSS2/box.html#box-dimensions"> border box</a>.
398-
This specification's ‘<a href="#shape-outside"><code
396+
box. The <a href="#exclusion-area">exclusion area</a> is equivalent to the
397+
<a href="http://www.w3.org/TR/CSS2/box.html#box-dimensions"> border
398+
box</a>. This specification's ‘<a href="#shape-outside"><code
399399
class=property>shape-outside</code></a>’ property can be used to define
400400
arbitrary, non-rectangular exclusion areas.
401401

@@ -466,20 +466,21 @@ <h2 id=definitions><span class=secno>2. </span>Definitions</h2>
466466

467467
<h2 id=exclusions><span class=secno>3. </span>Exclusions</h2>
468468

469-
<p> Exclusion elements define exclusion areas that contribute to their
470-
containing block's <a href="#wrapping-context">wrapping context</a>. As a
471-
consequence, exclusions impact the layout of their containing block's
472-
descendants.
469+
<p> Exclusion elements define <a href="#exclusion-area">exclusion areas</a>
470+
that contribute to their containing block's <a
471+
href="#wrapping-context">wrapping context</a>. As a consequence,
472+
exclusions impact the layout of their containing block's descendants.
473473

474474
<p>
475475

476476
<p> Elements layout their inline content in their <a
477-
href="#content-area">content area</a> and wrap around the areas in their
478-
associated <a href="#wrapping-context">wrapping context</a>. If the
479-
element is itself an exclusion, it does not wrap around its own exclusion
480-
shape and the impact of other exclusions on other exclusions is controlled
481-
by the ‘<code class=property>z-index</code>’ property as explained in
482-
the <a href="#exclusions-order">exclusions order</a> section.
477+
href="#content-area">content area</a> and wrap around the <a
478+
href="#exclusion-area">exclusion areas</a> in their associated <a
479+
href="#wrapping-context">wrapping context</a>. If the element is itself an
480+
exclusion, it does not wrap around its own exclusion shape and the impact
481+
of other exclusions on other exclusions is controlled by the ‘<code
482+
class=property>z-index</code>’ property as explained in the <a
483+
href="#exclusions-order">exclusions order</a> section.
483484

484485
<p> The <a href="#shapes">shape properties</a> can be used to change the
485486
shape of <a href="#exclusion-area">exclusion areas</a>.
@@ -567,13 +568,15 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The ‘<a
567568

568569
<dt><dfn id=start title="'wrap-flow'!!'start'">start</dfn>
569570

570-
<dd> Inline flow content can flow before the start edge of the exclusion
571-
area but must leave the area after the end edge of the exclusion empty.
571+
<dd> Inline flow content can flow before the start edge of the <a
572+
href="#exclusion-area">exclusion area</a> but must leave the area after
573+
the end edge of the exclusion empty.
572574

573575
<dt><dfn id=end title="'wrap-flow'!!'end'">end</dfn>
574576

575-
<dd> Inline flow content can flow after the end edge of the exclusion area
576-
but must leave the area before the start edge of the exclusion empty.
577+
<dd> Inline flow content can flow after the end edge of the <a
578+
href="#exclusion-area">exclusion area</a> but must leave the area before
579+
the start edge of the exclusion empty.
577580

578581
<dt><dfn id=minimum title="'wrap-flow'!!'minimum'">minimum</dfn>
579582

@@ -608,7 +611,7 @@ <h4 id=wrap-flow-property><span class=secno>3.1.1. </span>The ‘<a
608611
<span>exclusion element. It's <span>exclusion shape</span> is contributed
609612
to its containing block's <a href="#wrapping-context">wrapping
610613
context</a>, causing the containing block's descendants to wrap around its
611-
exclusion area. </span>
614+
<a href="#exclusion-area">exclusion area</a>. </span>
612615

613616
<p>An <a href="#exclusion-element">exclusion element</a> establishes a new
614617
<a href="">block formatting context</a> (see <a href="#CSS21"
@@ -1217,7 +1220,7 @@ <h4 id=exclusions-processing-model-description><span class=secno>3.5.1.
12171220
exclusion boxes
12181221

12191222
<li><strong>Step 2-B</strong>: lay out containing block, wrapping around
1220-
exclusion areas
1223+
<a href="#exclusion-area">exclusion areas</a>
12211224
</ul>
12221225
</ul>
12231226

@@ -1506,8 +1509,9 @@ <h4 id=floats-and-exclusions-similarities><span class=secno>3.6.1.
15061509
</span>Similarities</h4>
15071510

15081511
<p>There are similarities between floats an exclusions in that inline
1509-
content wraps around floats and also wraps around exclusion areas.
1510-
However, there are very significant differences.
1512+
content wraps around floats and also wraps around <a
1513+
href="#exclusion-area">exclusion areas</a>. However, there are very
1514+
significant differences.
15111515

15121516
<h4 id=floats-and-exclusions-differences><span class=secno>3.6.2.
15131517
</span>Differences</h4>
@@ -1965,15 +1969,16 @@ <h4 id=shape-outside-property><span class=secno>4.4.1. </span>The ‘<a
19651969

19661970
<div>
19671971
<p>The above figure shows how ‘<a href="#shape-outside"><code
1968-
class=property>shape-outside</code></a>’ shapes impact the exclusion
1969-
areas. The red box represents an element's content box and ‘<code
1970-
class=property>A</code>’, ‘<code class=property>B</code>’, ‘<code
1971-
class=property>C</code>’ and ‘<code class=property>C</code>
1972-
represent exclusions with a complex shape and their ‘<a
1973-
href="#wrap-flow"><code class=property>wrap-flow</code></a>’ property
1974-
set to ‘<code class=property>both</code>’, ‘<code
1975-
class=property>start</code>’, ‘<code class=property>end</code>’ and
1976-
<code class=property>clear</code>’, respectively.</p>
1972+
class=property>shape-outside</code></a>’ shapes impact the <a
1973+
href="#exclusion-area">exclusion areas</a>. The red box represents an
1974+
element's content box and ‘<code class=property>A</code>’, ‘<code
1975+
class=property>B</code>’, ‘<code class=property>C</code>’ and
1976+
<code class=property>C</code>’ represent exclusions with a complex
1977+
shape and their ‘<a href="#wrap-flow"><code
1978+
class=property>wrap-flow</code></a>’ property set to ‘<code
1979+
class=property>both</code>’, ‘<code class=property>start</code>’,
1980+
<code class=property>end</code>’ and ‘<code
1981+
class=property>clear</code>’, respectively.</p>
19771982

19781983
<p>As illustrated in the picture, when an exclusion allows wrapping on all
19791984
sides, text can flow inside ‘<code class=property>holes</code>’ in

0 commit comments

Comments
 (0)