2525
2626 < h1 id =css-regions-module > CSS regions Module</ h1 >
2727
28- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 12 August 2011</ h2 >
28+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 23 August 2011</ h2 >
2929
3030 < dl >
3131 < dt > This version:
3232
3333 < dd > < a
34- href ="http://www.w3.org/TR/2011/ED-css3-regions-20110812 / "> http://www.w3.org/csswg/css3-regions</ a >
34+ href ="http://www.w3.org/TR/2011/ED-css3-regions-20110823 / "> http://www.w3.org/csswg/css3-regions</ a >
3535
3636 < dt > Latest version:
3737
@@ -187,13 +187,12 @@ <h2 class="no-num no-toc" id=table-of-contents>Table of contents</h2>
187187 < li > < a href ="#the-content-property "> < span class =secno > 3.2. </ span > The
188188 ‘< code class =property > content</ code > ’ property</ a >
189189
190- < li > < a href ="#the-content -order-property "> < span class =secno > 3.3.
191- </ span > The ‘< code class =property > content -order</ code > ’
190+ < li > < a href ="#the-region -order-property "> < span class =secno > 3.3.
191+ </ span > The ‘< code class =property > region -order</ code > ’
192192 property</ a >
193193
194- < li > < a
195- href ="#region-flow-break-properties-break-before-break-after-break-inside "> < span
196- class =secno > 3.4. </ span > Region flow break properties: ‘< code
194+ < li > < a href ="#region-flow-break "> < span class =secno > 3.4. </ span > Region
195+ flow break properties: ‘< code
197196 class =property > break-before</ code > ’, ‘< code
198197 class =property > break-after</ code > ’, ‘< code
199198 class =property > break-inside</ code > ’</ a >
@@ -438,6 +437,8 @@ <h3 id=region-styling><span class=secno>1.2. </span>Regions styling</h3>
438437 < h2 id =css-regions-concepts > < span class =secno > 2. </ span > CSS regions
439438 concepts</ h2 >
440439
440+ < p > < em > This section is non-normative.</ em >
441+
441442 < h3 id =regions > < span class =secno > 2.1. </ span > Regions</ h3 >
442443
443444 < p class =index id =region title =region > A region is an element that generates
@@ -467,7 +468,7 @@ <h3 id=named-flow><span class=secno>2.2. </span>Named flow</h3>
467468 < p > Elements are placed into a named flow with the ’flow-into'
468469 property. The elements in a named flow are laid out in the chain of
469470 regions that are associated with this named flow. The ‘< a
470- href ="#content -order "> < code class =property > content -order</ code > </ a > ’
471+ href ="#region -order "> < code class =property > region -order</ code > </ a > ’
471472 property defines how < span title =region > regions</ span > are organized in to
472473 a < span title =region-chain > region chain</ span > .
473474
@@ -532,7 +533,7 @@ <h3 id=regions-flow-breaking-rules><span class=secno>2.3. </span>Regions
532533
533534 < p > < span title =region > Regions</ span > are organized in to a < span
534535 title =region-chain > region chain</ span > (see the ‘< a
535- href ="#content -order "> < code class =property > content -order</ code > </ a > ’
536+ href ="#region -order "> < code class =property > region -order</ code > </ a > ’
536537 property).
537538
538539 < p > Each region in turn consumes content from its associated < span
@@ -631,7 +632,7 @@ <h2 id=properties-and-rules><span class=secno>3. </span>Properties and
631632 <p>The main CSS regions module properties are the ‘flow-into’ and 'content'
632633 properties. The ‘flow-into’ property may place an element into a specific named
633634 flow. The ‘content’ property binds a region with a particular named flow. When multiple
634- regions are bound to the same flow, the 'content -order' property determines
635+ regions are bound to the same flow, the 'region -order' property determines
635636 the order in which content flows into the sequence of regions. This
636637 sequences of regions is called a <dfn>region chain</dfn>.</p>
637638
@@ -941,30 +942,26 @@ <h3 id=the-content-property><span class=secno>3.2. </span>The ‘<a
941942 class =property > normal</ code > ’. < br >
942943 Otherwise, the element becomes a < span > region</ span > and is ordered in a
943944 < span > region chain</ span > according to its document order and ‘< a
944- href ="#content-order "> < code
945- class =property > content-order</ code > </ a > ’ property. The content from
946- the flow with the < a
945+ href ="#region-order "> < code class =property > region-order</ code > </ a > ’
946+ property. The content from the flow with the < a
947947 href ="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier "> <ident></ a >
948- name will be < a
949- href ="#region-flow-break-properties-break-before-break-after-break-inside "> broken
950- into segments</ a > and visually formatted in the < a
948+ name will be < a href ="#region-flow-break "> broken into segments</ a > and
949+ visually formatted in the < a
951950 href ="http://www.w3.org/TR/CSS21/visuren.html#principal-box "> principal
952951 boxes</ a > of the regions in the region chain. If there is no flow with
953952 name <ident>, then the element does not format any content
954953 visually. < br >
954+ Likewise, if the element is part of the flow with name <ident>,
955+ then the element does not format any content visually. < br >
955956 This might be expanded in future versions of the specification to allow
956957 other types of containers to receive flow content.
957958 </ dl >
958959
959960 < p > When the ‘< a href ="#content-from "> < code
960- class =property > content</ code > </ a > ’ property is set to ‘< code
961- class =property > none</ code > ’, ‘< code
962- class =property > from-flow</ code > ’, <string>, <uri>,
963- <counter>, ‘< code
964- class =css > attr(<identifier>)</ code > ’, open-quote, close-quote,
965- no-open-quote or no-close-quote, the document children of the element are
966- not visually formatted unless they are directed to a named flow referenced
967- by one or more regions.
961+ class =property > content</ code > </ a > ’ property is set to a value other
962+ than ‘< code class =property > normal</ code > ’, the element's
963+ document children are not visually formatted unless they are directed to a
964+ named flow referenced by one or more regions.
968965
969966 < div class =note >
970967 < p > < em > This note is informative.</ em > </ p >
@@ -1073,6 +1070,10 @@ <h3 id=the-content-property><span class=secno>3.2. </span>The ‘<a
10731070
10741071 < p > < span title =region > Regions</ span > create a new stacking context.
10751072
1073+ < p > < span title =region > Regions</ span > establish a new < a
1074+ href ="http://www.w3.org/TR/CSS2/visuren.html#block-formatting "> block
1075+ formatting Context</ a > .
1076+
10761077 < div class =note >
10771078 < p > < em > This note is informative.</ em > </ p >
10781079
@@ -1122,22 +1123,22 @@ <h3 id=the-content-property><span class=secno>3.2. </span>The ‘<a
11221123 </ pre >
11231124 </ div >
11241125
1125- < h3 id =the-content -order-property > < span class =secno > 3.3. </ span > The
1126- ‘< a href ="#content -order "> < code
1127- class =property > content -order</ code > </ a > ’ property</ h3 >
1126+ < h3 id =the-region -order-property > < span class =secno > 3.3. </ span > The
1127+ ‘< a href ="#region -order "> < code
1128+ class =property > region -order</ code > </ a > ’ property</ h3 >
11281129
11291130 < p > Defines the ordering of the chain of regions into which content flows.
11301131 If region A and region B are in the same chain of regions and the
1131- ‘content -order’ of region A is lower than that of region B, then
1132- region A will precede region B in that chain: content will flow into
1133- region A before it flows into region B.
1132+ ‘region -order’ of region A is lower than that of region B, then region
1133+ A will precede region B in that chain: content will flow into region A
1134+ before it flows into region B.
11341135
1135- < table class =propdef summary ="content -order property definition ">
1136+ < table class =propdef summary ="region -order property definition ">
11361137 < tbody >
11371138 < tr >
11381139 < th > Name:
11391140
1140- < td > < dfn id =content -order> content -order</ dfn >
1141+ < td > < dfn id =region -order> region -order</ dfn >
11411142
11421143 < tr >
11431144 < th > Value:
@@ -1187,9 +1188,9 @@ <h3 id=the-content-order-property><span class=secno>3.3. </span>The
11871188 <ident>)</ code > ’ value for their ‘< a
11881189 href ="#content-from "> < code class =property > content</ code > </ a > ’
11891190 property, they are first sorted according to their ‘< a
1190- href ="#content -order "> < code class =property > content -order</ code > </ a > ’
1191+ href ="#region -order "> < code class =property > region -order</ code > </ a > ’
11911192 value. If multiple regions in have the same ‘< a
1192- href ="#content -order "> < code class =property > content -order</ code > </ a > ’
1193+ href ="#region -order "> < code class =property > region -order</ code > </ a > ’
11931194 value, they are sorted according to the document order.
11941195
11951196 < div class ="issue stale ">
@@ -1200,22 +1201,21 @@ <h3 id=the-content-order-property><span class=secno>3.3. </span>The
12001201 the ‘< code class =css > ::grid-cell</ code > ’ pseudo elements
12011202 (e.g., row-major sorting or column major sorting of cells).</ div >
12021203
1203- < h3
1204- id =region-flow-break-properties-break-before-break-after-break-inside > < span
1205- class =secno > 3.4. </ span > Region flow break properties: ‘< a
1206- href ="#break-before "> < code class =property > break-before</ code > </ a > ’,
1207- ‘< a href ="#break-after "> < code
1208- class =property > break-after</ code > </ a > ’, ‘< a
1209- href ="#break-inside "> < code class =property > break-inside</ code > </ a > ’</ h3 >
1204+ < h3 id =region-flow-break > < span class =secno > 3.4. </ span > Region flow break
1205+ properties: ‘< a href ="#break-before "> < code
1206+ class =property > break-before</ code > </ a > ’, ‘< a
1207+ href ="#break-after "> < code class =property > break-after</ code > </ a > ’,
1208+ ‘< a href ="#break-inside "> < code
1209+ class =property > break-inside</ code > </ a > ’</ h3 >
12101210
12111211 < p > User agents laying out content in multiple regions, the must determine
12121212 where content breaks occur. The problem of breaking content into segments
12131213 fitting in regions is similar to breaking content into pages or columns.
12141214
12151215 < p > Each break ends layout in the current region and causes remaining pieces
12161216 of content from the named flow to be visually formatted in the following
1217- region, in the order defined by the ‘< a href ="#content -order "> < code
1218- class =property > content -order</ code > </ a > ’ computed values. Note that
1217+ region, in the order defined by the ‘< a href ="#region -order "> < code
1218+ class =property > region -order</ code > </ a > ’ computed values. Note that
12191219 there is no region break in the last region associated with a named flow.
12201220
12211221 < p > The following extends the ‘< a href ="#break-before "> < code
@@ -1712,6 +1712,18 @@ <h3 id=the-region-overflow-property><span class=secno>3.5. </span>The
17121712 < p class =caption > Different values for the region-overflow property</ p >
17131713 </ div >
17141714
1715+ < div class =note >
1716+ < p > The ‘< a href ="#dom-namedflow-overflow "> < code
1717+ class =property > overflow</ code > </ a > ’ property is honored on a
1718+ region: if region content overflows, such as the borders of elements on
1719+ the last line, the ‘< a href ="#dom-namedflow-overflow "> < code
1720+ class =property > overflow</ code > </ a > ’ property controls the
1721+ visibility of the overflowing content. See the ‘< a
1722+ href ="#dom-namedflow-overflow "> < code
1723+ class =property > overflow</ code > </ a > ’ property definition (< a
1724+ href ="#CSS21 " rel =biblioentry > [CSS21]<!--{{CSS21}}--> </ a > ).</ p >
1725+ </ div >
1726+
17151727 < h3 id =the-at-region-style-rule > < span class =secno > 3.6. </ span > The @region
17161728 rule</ h3 >
17171729
@@ -2044,8 +2056,8 @@ <h3 id=extension-to-the-element-interface><span class=secno>5.2.
20442056
20452057 < dd > the region element has no content and is empty. All content from the
20462058 < span title =named-flow > named flow</ span > was fitted in regions with a
2047- lower ‘< a href ="#content -order "> < code
2048- class =property > content -order</ code > </ a > ’ value.
2059+ lower ‘< a href ="#region -order "> < code
2060+ class =property > region -order</ code > </ a > ’ value.
20492061
20502062 < dt > ‘< code class =property > undefined</ code > ’
20512063
@@ -2344,9 +2356,9 @@ <h3 id="changes_from_June_09_2011"><span class=secno>8.1. </span>Changes
23442356 < ul >
23452357 < li > Editorial changes (typos, rephrasings).
23462358
2347- < li > Made ‘< a href ="#content -order "> < code
2348- class =property > content -order</ code > </ a > ’ a <integer> and not
2349- a <float> following a working group < a
2359+ < li > Made ‘< a href ="#region -order "> < code
2360+ class =property > region -order</ code > </ a > ’ a <integer> and not a
2361+ <float> following a working group < a
23502362 href ="http://lists.w3.org/Archives/Public/www-style/2011Jun/0329.html "> resolution</ a >
23512363
23522364 < li > Added Alex Mogilevsky as an editor
@@ -2505,6 +2517,18 @@ <h3 id="changes_from_June_09_2011"><span class=secno>8.1. </span>Changes
25052517 < li > Removed the section on Integration with other specifications since
25062518 specifications that was superfluous especially since there is no specific
25072519 integration with multi column, grid or template layout.
2520+
2521+ < li > Added a note that regions establish a new block formatting context.
2522+
2523+ < li > Renamed content-order to region-order.
2524+
2525+ < li > Added a note about overflowing content in regions (e.g., for content
2526+ with borders).
2527+
2528+ < li > Added a note that a region cannot layout content it is part of (to
2529+ avoid creating a circular dependency) in the flow-from description,
2530+ specifying that if flow-from references the flow an element is part of,
2531+ then the element does not format anything visually.
25082532 </ ul >
25092533
25102534 < h2 class =no-num id =acknowledgments > Acknowledgments</ h2 >
@@ -2647,9 +2671,6 @@ <h2 class=no-num id=index>Index</h2>
26472671 < li > content, < a href ="#content-from "
26482672 title =content > < strong > 3.2.</ strong > </ a >
26492673
2650- < li > content-order, < a href ="#content-order "
2651- title =content-order > < strong > 3.3.</ strong > </ a >
2652-
26532674 < li > current-region, < a href ="#current-region "
26542675 title =current-region > < strong > 2.3.</ strong > </ a >
26552676
@@ -2673,6 +2694,9 @@ <h2 class=no-num id=index>Index</h2>
26732694
26742695 < li > region, < a href ="#region " title =region > 2.1.</ a >
26752696
2697+ < li > region-order, < a href ="#region-order "
2698+ title =region-order > < strong > 3.3.</ strong > </ a >
2699+
26762700 < li > < a href ="#dom-element-regionoverflow "> < code
26772701 class =idl > regionOverflow</ code > </ a > , < a
26782702 href ="#dom-element-regionoverflow "
@@ -2773,13 +2797,13 @@ <h2 class=no-num id=property-index>Property index</h2>
27732797 < td > visual
27742798
27752799 < tr >
2776- < th > < a class =property href ="#content-order " > content-order </ a >
2800+ < th > < a class =property href ="#flow-into " > flow-into </ a >
27772801
2778- < td > <integer >
2802+ < td > <ident > | auto
27792803
2780- < td > 0
2804+ < td > auto
27812805
2782- < td > any block container
2806+ < td > any element
27832807
27842808 < td > no
27852809
@@ -2788,13 +2812,13 @@ <h2 class=no-num id=property-index>Property index</h2>
27882812 < td > visual
27892813
27902814 < tr >
2791- < th > < a class =property href ="#flow-into " > flow-into </ a >
2815+ < th > < a class =property href ="#region-order " > region-order </ a >
27922816
2793- < td > <ident > | auto
2817+ < td > <integer >
27942818
2795- < td > auto
2819+ < td > 0
27962820
2797- < td > any element
2821+ < td > any block container
27982822
27992823 < td > no
28002824
0 commit comments