Skip to content

Commit f45c31a

Browse files
committed
[css-break] Clarify that overflowing content is a parallel fragmentation flow. <http://lists.w3.org/Archives/Public/www-style/2013Oct/0339.html>
1 parent fcc25da commit f45c31a

2 files changed

Lines changed: 84 additions & 19 deletions

File tree

css-break/Overview.html

Lines changed: 47 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,13 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
163163

164164
<li><a href="#fragmentation-model"><span class=secno>2. </span>
165165
Fragmentation Model and Terminology</a>
166+
<ul class=toc>
167+
<li><a href="#parallel-flows"><span class=secno>2.1. </span> Parallel
168+
Fragmentation Flows</a>
169+
170+
<li><a href="#nested-flows"><span class=secno>2.2. </span> Nested
171+
Fragmentation Flows</a>
172+
</ul>
166173

167174
<li><a href="#breaking-controls"><span class=secno>3. </span> Controlling
168175
Breaks</a>
@@ -403,12 +410,50 @@ <h2 id=fragmentation-model><span class=secno>2. </span> Fragmentation Model
403410
new <a href="#fragmentainer"><i>fragmentainer</i></a> to be generated to
404411
hold the deferred content.
405412

406-
<p> When multiple flows are laid out in parallel, fragmentation is
407-
performed independently in each flow. For example, if an element is
413+
<p class=note> Breaking inline content into lines is another form of
414+
fragmentation, and similarly creates box fragments when it breaks <a
415+
href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">inline
416+
boxes</a> across <a
417+
href="http://www.w3.org/TR/CSS21/visuren.html#line-box">line boxes</a>.
418+
However, inline breaking is not covered here; see [CSS21]]/<a
419+
href="#ref-CSS3TEXT" rel=biblioentry>[CSS3TEXT]<!--{{CSS3TEXT}}--></a>.
420+
421+
<h3 id=parallel-flows><span class=secno>2.1. </span> Parallel Fragmentation
422+
Flows</h3>
423+
424+
<p> When multiple flows are laid out parallel to each other, fragmentation
425+
is performed independently in each flow. For example, if an element is
408426
floated, then a forced break inside the float will not affect the content
409427
wrapping outside the float (except insofar as it may increase the height
410428
of the float).
411429

430+
<p> The following are examples of parallel flows whose contents will
431+
fragment independently:
432+
433+
<ul>
434+
<li>The contents of a float vs. the content wrapping outside the float.
435+
436+
<li>The contents of a float vs. the contents of an adjacent float.
437+
438+
<li>The contents of each table cell in a single table row.
439+
440+
<li>The contents of each grid item in a single grid row.
441+
442+
<li>The contents of each flex item in a flex layout row.
443+
444+
<li>The contents of absolutely-positioned elements that cover the same
445+
range of their containing block's fragmentation context.
446+
</ul>
447+
448+
<p> Content overflowing the content edge of a fixed-size box is considered
449+
parallel to the content after the fixed-size box. Note however that
450+
content <em>not</em> overflowing the content edge of a fixed-size box is
451+
embedded within the same flow as the in-flow content after it. (The
452+
content edge effectively forks the fragmentation.)
453+
454+
<h3 id=nested-flows><span class=secno>2.2. </span> Nested Fragmentation
455+
Flows</h3>
456+
412457
<p> Breaking a <a href="#fragmentainer"><i>fragmentainer</i></a>
413458
<var>F</var> effectively splits the <a
414459
href="#fragmentainer"><i>fragmentainer</i></a> into two <a
@@ -421,14 +466,6 @@ <h2 id=fragmentation-model><span class=secno>2. </span> Fragmentation Model
421466
created by <var>F</var>’s own <a
422467
href="#fragmentation-context"><i>fragmentation context</i></a>.
423468

424-
<p class=note> Breaking inline content into lines is another form of
425-
fragmentation, and similarly creates box fragments when it breaks <a
426-
href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">inline
427-
boxes</a> across <a
428-
href="http://www.w3.org/TR/CSS21/visuren.html#line-box">line boxes</a>.
429-
However, inline breaking is not covered here; see <a href="#ref-CSS3TEXT"
430-
rel=biblioentry>[CSS3TEXT]<!--{{CSS3TEXT}}--></a>.
431-
432469
<h2 id=breaking-controls><span class=secno>3. </span> Controlling Breaks</h2>
433470

434471
<p> The following sections explain how breaks are controlled in a <a

css-break/Overview.src.html

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,51 @@ <h2 id="fragmentation-model">
177177
to hold the deferred content.
178178
</p>
179179

180+
<p class="note">
181+
Breaking inline content into lines is another form of fragmentation,
182+
and similarly creates box fragments when it breaks
183+
<a href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">inline boxes</a>
184+
across <a href="http://www.w3.org/TR/CSS21/visuren.html#line-box">line boxes</a>.
185+
However, inline breaking is not covered here; see [CSS21]]/[[CSS3TEXT]].
186+
</p>
187+
188+
<h3 id="parallel-flows">
189+
Parallel Fragmentation Flows</h3>
190+
180191
<p>
181-
When multiple flows are laid out in parallel,
192+
When multiple flows are laid out parallel to each other,
182193
fragmentation is performed independently in each flow.
183194
For example, if an element is floated,
184195
then a forced break inside the float
185196
will not affect the content wrapping outside the float
186197
(except insofar as it may increase the height of the float).
187198
</p>
188199

200+
<p>
201+
The following are examples of parallel flows
202+
whose contents will fragment independently:
203+
</p>
204+
<ul>
205+
<li>The contents of a float vs. the content wrapping outside the float.
206+
<li>The contents of a float vs. the contents of an adjacent float.
207+
<li>The contents of each table cell in a single table row.
208+
<li>The contents of each grid item in a single grid row.
209+
<li>The contents of each flex item in a flex layout row.
210+
<li>The contents of absolutely-positioned elements
211+
that cover the same range of their containing block's fragmentation context.
212+
</ul>
213+
214+
<p>
215+
Content overflowing the content edge of a fixed-size box
216+
is considered parallel to the content after the fixed-size box.
217+
Note however that content <em>not</em> overflowing the content edge of a fixed-size box
218+
is embedded within the same flow as the in-flow content after it.
219+
(The content edge effectively forks the fragmentation.)
220+
</p>
221+
222+
<h3 id="nested-flows">
223+
Nested Fragmentation Flows</h3>
224+
189225
<p>
190226
Breaking a <i>fragmentainer</i> <var>F</var> effectively splits the <i>fragmentainer</i>
191227
into two <i>fragmentainers</i> (<var>F<sub>1</sub></var> and <var>F<sub>2</sub></var>).
@@ -196,14 +232,6 @@ <h2 id="fragmentation-model">
196232
not the type of break normally created by <var>F</var>’s own <i>fragmentation context</i>.
197233
</p>
198234

199-
<p class="note">
200-
Breaking inline content into lines is another form of fragmentation,
201-
and similarly creates box fragments when it breaks
202-
<a href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">inline boxes</a>
203-
across <a href="http://www.w3.org/TR/CSS21/visuren.html#line-box">line boxes</a>.
204-
However, inline breaking is not covered here; see [[CSS3TEXT]].
205-
</p>
206-
207235
<h2 id="breaking-controls">
208236
Controlling Breaks</h2>
209237

0 commit comments

Comments
 (0)