Skip to content

Commit 0a737c1

Browse files
committed
editorial changes to section 3
1 parent 0c0bf32 commit 0a737c1

2 files changed

Lines changed: 222 additions & 249 deletions

File tree

css3-regions/Overview.html

Lines changed: 54 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 April 2012</h2>
255255
<dt>Issues List:
256256

257257
<dd><a
258-
href="https://www.w3.org/Bugs/Public/buglist.cgi?product=CSS&component=CSS%20Regions&resolution=---">Bugzilla
258+
href="https://www.w3.org/Bugs/Public/buglist.cgi?product=CSS&component=Regions&resolution=---">Bugzilla
259259
Bugs for CSS regions</a>
260260

261261
<dt>Discussion:
@@ -531,13 +531,6 @@ <h2 id=introduction><span class=secno>1. </span>Introduction</h2>
531531

532532
<p><em>This section is non-normative.</em>
533533

534-
<div class=issue-marker data-bug_id=15159 data-bug_status=NEW> <a
535-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15159">Bug-15159</a>
536-
<div class=issue-details>
537-
<p class=short-desc>Add code samples to the CSS regions use cases page</p>
538-
</div>
539-
</div>
540-
541534
<p>Displaying the complex layouts of a typical magazine, newspaper, or
542535
textbook on the web requires capabilities beyond those available in
543536
existing CSS modules. Dynamic magazine layout in particular requires
@@ -573,13 +566,6 @@ <h3 id=named-flows-and-regions><span class=secno>1.1. </span>Named flows
573566
<p class=caption>Layout requiring sophisticated content flow</p>
574567
</div>
575568

576-
<div class=issue-marker data-bug_id=15131 data-bug_status=NEW> <a
577-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15131">Bug-15131</a>
578-
<div class=issue-details>
579-
<p class=short-desc>Add layout to initial example</p>
580-
</div>
581-
</div>
582-
583569
<p>The designer's intent is to position an image in box &lsquo;<code
584570
class=property>A</code>&rsquo; and to flow an article's content from box
585571
&lsquo;<code class=css>1</code>&rsquo; through boxes &lsquo;<code
@@ -825,7 +811,7 @@ <h3 id=the-flow-into-property><span class=secno>3.1. </span>The &lsquo;<a
825811

826812
<p>The ‘flow-into’ property can place an element into a <a
827813
href="#named-flow0">named flow</a>. Elements that belong to the same flow
828-
are laid out in the regions associated with that flow.
814+
are laid out in the region chain associated with that flow.
829815

830816
<table class=propdef summary="flow property definition">
831817
<tbody>
@@ -896,27 +882,28 @@ <h3 id=the-flow-into-property><span class=secno>3.1. </span>The &lsquo;<a
896882
class=property>initial</code>&rsquo; are invalid flow names.
897883
</dl>
898884

899-
<p>A <a href="#named-flow0">named flow</a> needs to be associated with one
900-
or more regions for its elements to be visually formatted. If no region is
901-
associated with a given <a href="#named-flow0">named flow</a>, the
902-
elements in the <a href="#named-flow0">named flow</a> are not rendered:
903-
they do not generate boxes and are not displayed.
885+
<p>A <a href="#named-flow0">named flow</a> needs to be associated with a
886+
region chain (one or more CSS regions) for its elements to be visually
887+
formatted. If no region chain is associated with a given <a
888+
href="#named-flow0">named flow</a>, the elements in the <a
889+
href="#named-flow0">named flow</a> are not rendered: they do not generate
890+
boxes and are not displayed.
904891

905892
<p>The children of an element with a specified flow may themselves have a
906893
specified flow.
907894

908895
<p>If an element has the same specified flow as one of its ancestors, it
909-
becomes a sibling of it's ancestor for the purpose of layout in the
910-
regions laying out content from that flow.
896+
becomes a sibling of its ancestor for the purpose of layout in the region
897+
chain laying out content from that flow.
911898

912899
<p>The &lsquo;<a href="#flow-into"><code
913900
class=property>flow-into</code></a>&rsquo; property does not affect the
914901
CSS cascade and inheritance for the elements on which it is specified. The
915902
&lsquo;<a href="#flow-into"><code
916903
class=property>flow-into</code></a>&rsquo; property affects the visual
917904
formatting of elements placed into a <a href="#named-flow0">named flow</a>
918-
and of regions laying out content from a <a href="#named-flow0">named
919-
flow</a>.
905+
and of the region chain laying out content from a <a
906+
href="#named-flow0">named flow</a>.
920907

921908
<div class="issue-marker wrapper">
922909
<div class=issue-marker data-bug_id=15858 data-bug_status=NEW> <a
@@ -985,7 +972,7 @@ <h3 id=the-flow-into-property><span class=secno>3.1. </span>The &lsquo;<a
985972
probably not intentional). This will make all the descendants of table
986973
elements siblings in the <a href="#named-flow0">named flow</a>. Having
987974
the descendants become siblings in the <a href="#named-flow0">named
988-
flow</a> results in a different processing (see the <a
975+
flow</a> results in a different processing (see <a
989976
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/tables.html#anonymous-boxes">CSS
990977
2.1&lsquo;<code class=css>s anonymous table objects</code></a>). This
991978
note illustrates how authors must exercise caution when choosing a
@@ -1065,31 +1052,32 @@ <h3 id=the-flow-from-property><span class=secno>3.2. </span>The &lsquo;<a
10651052
<dd> If the &lsquo;<code class=property>content</code>&rsquo; property
10661053
computes to something else than &lsquo;<code
10671054
class=property>normal</code>&rsquo;, the element does not become a
1068-
region. If the &lsquo;<code class=property>content</code>&rsquo; property
1069-
computes to &lsquo;<code class=property>normal</code>&rsquo;, then the
1070-
element becomes a <span>region</span> and is ordered in a <span>region
1071-
chain</span> according to its document order. The content from the flow
1072-
with the <a
1055+
<span>CSS Region</span>. If the &lsquo;<code
1056+
class=property>content</code>&rsquo; property computes to &lsquo;<code
1057+
class=property>normal</code>&rsquo;, then the element becomes a <span>CSS
1058+
Region</span> and is ordered in a <span>region chain</span> according to
1059+
its document order. The content from the flow with the <a
10731060
href="http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html#value-def-identifier">&lt;ident&gt;</a>
10741061
name will be <a href="#region-flow-break">broken into fragments</a> and
10751062
visually formatted in the <a
10761063
href="http://www.w3.org/TR/CSS21/visuren.html#principal-box">principal
1077-
boxes</a> of the regions in the region chain. If there is no flow with
1078-
name &lt;ident&gt;, then the element does not format any content
1079-
visually. <br>
1064+
boxes</a> of the <span>regions</span> in the <span>region chain</span>.
1065+
<br>
1066+
If there is no flow with name &lt;ident&gt;, then the element does not
1067+
format any content visually. <br>
10801068
Likewise, if the element is part of the flow with name &lt;ident&gt;,
10811069
then the element does not format any content visually.
10821070
</dl>
10831071

1084-
<p class=note><span class=note-prefix>Note </span>A region's document
1085-
children are not visually formatted unless they are directed to a <a
1086-
href="#named-flow0">named flow</a> referenced by one or more regions.
1072+
<p>A <span>CSS Region</span>&lsquo;<code class=css>s document children are
1073+
not visually formatted unless they are directed to a <a
1074+
href="#named-flow0">named flow</a> with an associated <span>region
1075+
chain</span>.</code>
10871076

10881077
<div class=note><span class=note-prefix>Note </span>
1089-
<p>An element becomes a region when its &lsquo;<a href="#flow-from"><code
1090-
class=property>flow-from</code></a>&rsquo; property is set to a valid
1091-
&lt;ident&gt; value, even if there is no content contributing to the
1092-
referenced flow. For example:</p>
1078+
<p>An element becomes a <span>CSS Region</span> when its &rsquo;flow-from'
1079+
property is set to a valid &lt;ident&gt; value, even if there is no
1080+
content contributing to the referenced flow. For example:</p>
10931081

10941082
<pre>
10951083
&lt;style&gt;
@@ -1139,33 +1127,33 @@ <h3 id=the-flow-from-property><span class=secno>3.2. </span>The &lsquo;<a
11391127
</div>
11401128
</div>
11411129

1142-
<p><span title=region>Regions</span> create a new <a
1130+
<p><span title=region>CSS Regions</span> create a new <a
11431131
href="http://www.w3.org/TR/CSS2/visuren.html#z-index">stacking
1144-
context</a>. <span title=region>Regions</span> establish a new <a
1132+
context</a>. <span title=region>CSS Regions</span> establish a new <a
11451133
href="http://www.w3.org/TR/CSS2/visuren.html#block-formatting">block
11461134
formatting Context</a>.
11471135

11481136
<div class=note><span class=note-prefix>Note </span>
1149-
<p>With regions, an element may be split across multiple regions and these
1150-
regions may overlap (for example if they are absolutely positioned). So
1151-
fragments of the same element can overlap each other. Since each element
1152-
has a single z-index, it would be required to find another mechanism to
1153-
decide in which order the  fragments are rendered. Since each region
1154-
creates a new stacking context, it is clear that each region is rendered
1155-
separately and their rendering order follows the regular CSS rendering
1156-
model.</p>
1137+
<p>With <span>region chains</span>, an element may be split across
1138+
multiple boxes and these boxes may overlap (for example if they are
1139+
absolutely positioned). So fragments of the same element can overlap each
1140+
other. Since each element has a single z-index, it would be required to
1141+
find another mechanism to decide in which order the fragments are
1142+
rendered. Since each <span>CSS Region</span> creates a new stacking
1143+
context, it is clear that each fragment is rendered separately and their
1144+
rendering order follows the regular CSS rendering model.</p>
11571145
</div>
11581146

11591147
<p>Floats or other exclusions (see <a href="#CSS3-EXCLUSIONS"
11601148
rel=biblioentry>[CSS3-EXCLUSIONS]<!--{{CSS3-EXCLUSIONS}}--></a>)
1161-
potentially impact the content laid out in regions, just as for
1149+
potentially impact the content laid out in region chains, just as for
11621150
non-regions.
11631151

11641152
<p>See the <a href="#regions-visual-formatting-details">regions visual
11651153
formatting details</a> section for a description of how &lsquo;<code
11661154
class=property>width</code>&rsquo; and &lsquo;<code
1167-
class=property>height</code>&rsquo; values are resolved for
1168-
<span>region</span> boxes.
1155+
class=property>height</code>&rsquo; values are resolved for <span>CSS
1156+
Region</span> boxes.
11691157

11701158
<h3 id=region-flow-break><span class=secno>3.3. </span>Region flow break
11711159
properties: &lsquo;<a href="#break-before"><code
@@ -1227,7 +1215,7 @@ <h3 id=region-flow-break><span class=secno>3.3. </span>Region flow break
12271215
<tr>
12281216
<td><em>Media:</em>
12291217

1230-
<td>paged
1218+
<td>visual
12311219

12321220
<tr>
12331221
<td><em>Computed&nbsp;value:</em>
@@ -1271,7 +1259,7 @@ <h3 id=region-flow-break><span class=secno>3.3. </span>Region flow break
12711259
<tr>
12721260
<td><em>Media:</em>
12731261

1274-
<td>paged
1262+
<td>visual
12751263

12761264
<tr>
12771265
<td><em>Computed&nbsp;value:</em>
@@ -1314,7 +1302,7 @@ <h3 id=region-flow-break><span class=secno>3.3. </span>Region flow break
13141302
<tr>
13151303
<td><em>Media:</em>
13161304

1317-
<td>paged
1305+
<td>visual
13181306

13191307
<tr>
13201308
<td><em>Computed&nbsp;value:</em>
@@ -1388,7 +1376,7 @@ <h3 id=the-region-overflow-property><span class=secno>3.4. </span>The
13881376
<tr>
13891377
<td><em>Media:</em>
13901378

1391-
<td>paged
1379+
<td>visual
13921380

13931381
<tr>
13941382
<td><em>Computed&nbsp;value:</em>
@@ -1572,6 +1560,9 @@ <h3 id=the-at-region-style-rule><span class=secno>3.5. </span>The @region
15721560

15731561
<li><a href="http://www.w3.org/TR/CSS2/colors.html">color property</a>
15741562

1563+
<li><a href="http://www.w3.org/TR/css3-color/#transparency">opacity
1564+
property</a>
1565+
15751566
<li><a href="http://www.w3.org/TR/css3-background/#backgrounds">background
15761567
property</a>
15771568

@@ -1900,13 +1891,6 @@ <h2 id="cssom_view_and_css_regions"><span class=secno>6. </span>CSSOM view
19001891
additional space required to fit the larger text or some regions may need
19011892
to be removed for smaller text.
19021893

1903-
<div class=issue-marker data-bug_id=15010 data-bug_status=NEW> <a
1904-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15010">Bug-15010</a>
1905-
<div class=issue-details>
1906-
<p class=short-desc>Need to add a CSSRegionRule to Region OM</p>
1907-
</div>
1908-
</div>
1909-
19101894
<h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
19111895
interface</h3>
19121896

@@ -1928,14 +1912,6 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
19281912
transitions</p>
19291913
</div>
19301914

1931-
<div class=issue-marker data-bug_id=14948 data-bug_status=NEW> <a
1932-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=14948">Bug-14948</a>
1933-
<div class=issue-details>
1934-
<p class=short-desc>What should getFlowByName return if there is no flow
1935-
with the given name?</p>
1936-
</div>
1937-
</div>
1938-
19391915
<p>An addition method and attribute on the <a
19401916
href="http://www.w3.org/TR/dom/#interface-document"><code
19411917
class=idl>Document</code></a> interface provide access to <a
@@ -2000,16 +1976,6 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
20001976
no matter what the state of the <a href="#named-flow0">named flow</a> is.
20011977
</ul>
20021978

2003-
<div class=issue-marker data-bug_id=15828 data-bug_status=NEW> <a
2004-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15828">Bug-15828</a>
2005-
<div class=issue-details>
2006-
<p class=short-desc>Should add a &lsquo;<a
2007-
href="#dom-named-flow-name"><code class=property>name</code></a>&rsquo;
2008-
property on NamedFlow and should have a Document method to get all
2009-
existing NamedFlow instances.</p>
2010-
</div>
2011-
</div>
2012-
20131979
<p>The <dfn id=dom-named-flow-collection><code
20141980
class=idl>NamedFlowCollection</code></dfn> interface provides a list of
20151981
current <a href="#dom-named-flow"><code class=idl>NamedFlow</code></a>
@@ -2046,14 +2012,6 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
20462012
that <a href="#named-flow0">named flow</a> has transitioned to the
20472013
<code>REFERENCED</code> or the <code>STALE</code> states.
20482014

2049-
<div class=issue-marker data-bug_id=15879 data-bug_status=NEW> <a
2050-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15879">Bug-15879</a>
2051-
<div class=issue-details>
2052-
<p class=short-desc>getRegionsByContentNode and contentNodes: change
2053-
naming?</p>
2054-
</div>
2055-
</div>
2056-
20572015
<pre class=idl>
20582016
interface <a
20592017
href="#dom-named-flow">NamedFlow</a> implements <a
@@ -2249,13 +2207,6 @@ <h3 id=the-region-interface><span class=secno>6.2. </span>The Region
22492207
<h3 id=region-flow-layout-events><span class=secno>6.3. </span>Region flow
22502208
layout events</h3>
22512209

2252-
<div class=issue-marker data-bug_id=15009 data-bug_status=NEW> <a
2253-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15009">Bug-15009</a>
2254-
<div class=issue-details>
2255-
<p class=short-desc>Should we have additional events for CSS Regions?</p>
2256-
</div>
2257-
</div>
2258-
22592210
<p><a href="#dom-named-flow"><code class=idl>NamedFlow</code></a> objects
22602211
are <a href="">Event Targets</a> which dispatch <code
22612212
class=idl>regionLayoutUpdate</code> events when there is a possible layout
@@ -2956,6 +2907,11 @@ <h3 id="changes_from_June_09_2011"><span class=secno>12.1. </span>Changes
29562907
auto sizing on regions.
29572908

29582909
<li>Reworked the initial specification example.
2910+
2911+
<li>Changed break and region-overflow properties to apply to visual media
2912+
instead of paged.
2913+
2914+
<li>Added opacity to region styling.
29592915
</ul>
29602916

29612917
<h3 id="changes_from_June_09_2011"><span class=secno>12.2. </span>Changes

0 commit comments

Comments
 (0)