Skip to content

Commit 84cede6

Browse files
committed
1 parent 31a8d08 commit 84cede6

2 files changed

Lines changed: 196 additions & 47 deletions

File tree

css3-regions/Overview.html

Lines changed: 131 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,13 @@
224224

225225
<h1 id=css-regions-module>CSS Regions Module Level 3</h1>
226226

227-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 March 2012</h2>
227+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 March 2012</h2>
228228

229229
<dl>
230230
<dt>This version:
231231

232232
<dd><a
233-
href="http://www.w3.org/TR/2012/ED-css3-regions-20120315/">http://www.w3.org/csswg/css3-regions</a>
233+
href="http://www.w3.org/TR/2012/ED-css3-regions-20120319/">http://www.w3.org/csswg/css3-regions</a>
234234

235235
<dt>Latest version:
236236

@@ -267,13 +267,12 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 March 2012</h2>
267267
<!--begin-copyright-->
268268
<p class=copyright><a
269269
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
270-
rel=license>Copyright</a> &copy; 2012 <a
271-
href="http://www.w3.org/"><acronym
272-
title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
273-
href="http://www.csail.mit.edu/"><acronym
274-
title="Massachusetts Institute of Technology">MIT</acronym></a>, <a
275-
href="http://www.ercim.eu/"><acronym
276-
title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
270+
rel=license>Copyright</a> &copy; 2012 <a href="http://www.w3.org/"><abbr
271+
title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a
272+
href="http://www.csail.mit.edu/"><abbr
273+
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
274+
href="http://www.ercim.eu/"><abbr
275+
title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
277276
<a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
278277
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
279278
<a
@@ -402,39 +401,48 @@ <h2 class="no-num no-toc" id=table-of-contents>Table of contents</h2>
402401
</span>The @region rule</a>
403402
</ul>
404403

405-
<li><a href="#pseudo_elements"><span class=secno>5.
404+
<li><a href="#multi-column-regions"><span class=secno>5.
405+
</span>Multi-column regions</a>
406+
<ul class=toc>
407+
<li><a href="#multi-column-regions-and-overflow"><span class=secno>5.1.
408+
</span>Multi-column regions and overflow</a>
409+
410+
<li><a href="#regions"><span class=secno>5.2. </span> </a>
411+
</ul>
412+
413+
<li><a href="#pseudo_elements"><span class=secno>6.
406414
</span>Pseudo-elements</a>
407415
<ul class=toc>
408-
<li><a href="#processing-model"><span class=secno>5.1. </span>Processing
416+
<li><a href="#processing-model"><span class=secno>6.1. </span>Processing
409417
model</a>
410418
</ul>
411419

412-
<li><a href="#cssom_view_and_css_regions"><span class=secno>6.
420+
<li><a href="#cssom_view_and_css_regions"><span class=secno>7.
413421
</span>CSSOM view and CSS regions</a>
414422
<ul class=toc>
415-
<li><a href="#the-namedflow-interface"><span class=secno>6.1. </span>The
423+
<li><a href="#the-namedflow-interface"><span class=secno>7.1. </span>The
416424
NamedFlow interface</a>
417425

418-
<li><a href="#extension-to-the-element-interface"><span class=secno>6.2.
426+
<li><a href="#extension-to-the-element-interface"><span class=secno>7.2.
419427
</span>Extension to the Element interface</a>
420428

421-
<li><a href="#region-flow-layout-events"><span class=secno>6.3.
429+
<li><a href="#region-flow-layout-events"><span class=secno>7.3.
422430
</span>Region flow layout events</a>
423431
</ul>
424432

425-
<li><a href="#relation-to-other-specifications"><span class=secno>7.
433+
<li><a href="#relation-to-other-specifications"><span class=secno>8.
426434
</span>Relation to other specifications</a>
427435

428-
<li><a href="#usecases"><span class=secno>8. </span>Use Cases</a>
436+
<li><a href="#usecases"><span class=secno>9. </span>Use Cases</a>
429437

430-
<li><a href="#conformance"><span class=secno>9. </span>Conformance</a>
438+
<li><a href="#conformance"><span class=secno>10. </span>Conformance</a>
431439

432-
<li><a href="#changes"><span class=secno>10. </span>Changes</a>
440+
<li><a href="#changes"><span class=secno>11. </span>Changes</a>
433441
<ul class=toc>
434-
<li><a href="#changes_from_June_09_2011"><span class=secno>10.1.
442+
<li><a href="#changes_from_June_09_2011"><span class=secno>11.1.
435443
</span>Changes from November 29<sup>th</sup> 2011 version</a>
436444

437-
<li><a href="#changes_from_June_09_2011"><span class=secno>10.2.
445+
<li><a href="#changes_from_June_09_2011"><span class=secno>11.2.
438446
</span>Changes from June 09<sup>th</sup> 2011 version</a>
439447
</ul>
440448

@@ -452,7 +460,7 @@ <h2 class="no-num no-toc" id=table-of-contents>Table of contents</h2>
452460

453461
<li class=no-num><a href="#property-index">Property index</a>
454462

455-
<li><a href="#issue-manager0"><span class=secno>11. </span>Issue
463+
<li><a href="#issue-manager0"><span class=secno>12. </span>Issue
456464
manager</a>
457465
</ul>
458466
<!--end-toc-->
@@ -757,7 +765,10 @@ <h3 id=regions><span class=secno>2.1. </span>Regions</h3>
757765
a <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block
758766
container box</a> and has an associated <a href="#named-flow0"><em>named
759767
flow</em></a> (see the &lsquo;<a href="#flow-from"><code
760-
class=property>flow-from</code></a>&rsquo; property).
768+
class=property>flow-from</code></a>&rsquo; property). The <a
769+
href="http://dev.w3.org/csswg/css3-multicol/#column-box">column boxes</a>
770+
of multi-column elements which have an associated <a
771+
href="#named-flow0"><em>named flow</em></a> are also regions.
761772

762773
<h3 id=named-flow><span class=secno>2.2. </span>Named flow</h3>
763774

@@ -1768,7 +1779,76 @@ <h3 id=the-at-region-style-rule><span class=secno>4.5. </span>The @region
17681779
not receive the region styling specified for region &lsquo;<code
17691780
class=property>A</code>&rsquo;.</div>
17701781

1771-
<h2 id="pseudo_elements"><span class=secno>5. </span>Pseudo-elements</h2>
1782+
<h2 id=multi-column-regions><span class=secno>5. </span>Multi-column
1783+
regions</h2>
1784+
1785+
<p>Column boxes of a <a
1786+
href="http://dev.w3.org/csswg/css3-multicol/#multi-column-element">multi-column</a>
1787+
element that has an assigned <a href="#named-flow0"><em>named
1788+
flow</em></a> are regions. This means that a multi-column element can be
1789+
used as a convenient short-hand to create multiple regions into which
1790+
content flows. For example:
1791+
1792+
<div class=example>
1793+
<p>The following example:</p>
1794+
1795+
<pre>
1796+
&lt;style&gt;
1797+
#multi-col {
1798+
column-count: 2;
1799+
flow-from: article;
1800+
height: 6em;
1801+
column-gap: 1em;
1802+
}
1803+
1804+
#remainder {
1805+
flow-from: article;
1806+
height: auto;
1807+
}
1808+
&lt;/style&gt;
1809+
1810+
&lt;div id="article"&gt;...&lt;div&gt;
1811+
&lt;div id="multicol"&gt&lt;/div&gt;
1812+
&lt;div id="remainder"&gt;&lt;/div&gt;</pre>
1813+
1814+
<p>is equivalent but simpler than, for example:</p>
1815+
1816+
<pre>
1817+
&lt;style&gt;
1818+
#flex {
1819+
display: flex;
1820+
flex-pack: justify;
1821+
}
1822+
#flex > div {
1823+
flow-from: article;
1824+
width: calc(50% - 0.5em);
1825+
}
1826+
1827+
#remainder {
1828+
flow-from: article;
1829+
height: auto;
1830+
}
1831+
&lt;/style&gt;
1832+
1833+
&lt;div id="article"&gt;...&lt;div&gt;
1834+
&lt;div id="flex"&gt;
1835+
&lt;div /&gt;
1836+
&lt;div /&gt;
1837+
&lt;/div&gt;
1838+
&lt;div id="remainder"&gt;&lt;/div&gt;</pre>
1839+
</div>
1840+
1841+
<h3 id=multi-column-regions-and-overflow><span class=secno>5.1.
1842+
</span>Multi-column regions and overflow</h3>
1843+
1844+
<p class=note>Overflow of column boxes that are regions is handled
1845+
according to the same rules as other regions. If the content does not fit
1846+
in the region, then the rest of the content flow into regions that follow
1847+
in the region chain.
1848+
1849+
<h3 id=regions><span class=secno>5.2. </span></h3>
1850+
1851+
<h2 id="pseudo_elements"><span class=secno>6. </span>Pseudo-elements</h2>
17721852

17731853
<div class=issue-marker data-bug_id=15188 data-bug_status=NEW> <a
17741854
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15188">Bug-15188</a>
@@ -1790,7 +1870,7 @@ <h2 id="pseudo_elements"><span class=secno>5. </span>Pseudo-elements</h2>
17901870
rel=biblioentry>[SELECT]<!--{{!SELECT}}--></a>) let content authors mark
17911871
the beginning and end of a region with such markers.
17921872

1793-
<h3 id=processing-model><span class=secno>5.1. </span>Processing model</h3>
1873+
<h3 id=processing-model><span class=secno>6.1. </span>Processing model</h3>
17941874

17951875
<p>The &lsquo;<code class=css>::before</code>&rsquo; content is laid out in
17961876
the region prior to any other content coming from the flow. Note that it
@@ -1817,7 +1897,7 @@ <h3 id=processing-model><span class=secno>5.1. </span>Processing model</h3>
18171897
and can accommodate for the &lsquo;<code class=css>::after</code>&rsquo;
18181898
box.
18191899

1820-
<h2 id="cssom_view_and_css_regions"><span class=secno>6. </span>CSSOM view
1900+
<h2 id="cssom_view_and_css_regions"><span class=secno>7. </span>CSSOM view
18211901
and CSS regions</h2>
18221902

18231903
<div class=issue-marker data-bug_id=15679 data-bug_status=NEW> <a
@@ -1854,7 +1934,7 @@ <h2 id="cssom_view_and_css_regions"><span class=secno>6. </span>CSSOM view
18541934
regions it is part of.</p>
18551935
</div>
18561936

1857-
<h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
1937+
<h3 id=the-namedflow-interface><span class=secno>7.1. </span>The NamedFlow
18581938
interface</h3>
18591939

18601940
<div class=issue-marker data-bug_id=14948 data-bug_status=NEW> <a
@@ -1978,7 +2058,7 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
19782058
interface, authors can easily check if all content has been fitted into
19792059
existing regions. If it has, the overflow property would be false.
19802060

1981-
<h3 id=extension-to-the-element-interface><span class=secno>6.2.
2061+
<h3 id=extension-to-the-element-interface><span class=secno>7.2.
19822062
</span>Extension to the Element interface</h3>
19832063

19842064
<p>When an region is an actual <a
@@ -2069,7 +2149,7 @@ <h3 id=extension-to-the-element-interface><span class=secno>6.2.
20692149
extension is only available to regions that are document elements and not
20702150
to regions that are pseudo-elements.</div>
20712151

2072-
<h3 id=region-flow-layout-events><span class=secno>6.3. </span>Region flow
2152+
<h3 id=region-flow-layout-events><span class=secno>7.3. </span>Region flow
20732153
layout events</h3>
20742154

20752155
<div class=issue-marker data-bug_id=15009 data-bug_status=NEW> <a
@@ -2134,7 +2214,7 @@ <h3 id=region-flow-layout-events><span class=secno>6.3. </span>Region flow
21342214
</ul>
21352215
</table>
21362216

2137-
<h2 id=relation-to-other-specifications><span class=secno>7.
2217+
<h2 id=relation-to-other-specifications><span class=secno>8.
21382218
</span>Relation to other specifications</h2>
21392219

21402220
<p>This specification is related to other specifications as described in
@@ -2158,17 +2238,17 @@ <h2 id=relation-to-other-specifications><span class=secno>7.
21582238
aligning content flowing in separate regions.
21592239
</ol>
21602240

2161-
<h2 id=usecases><span class=secno>8. </span>Use Cases</h2>
2241+
<h2 id=usecases><span class=secno>9. </span>Use Cases</h2>
21622242

21632243
<p>Use cases are described on <a
21642244
href="http://wiki.csswg.org/spec/css3-regions/regions-use-cases">this
21652245
page</a>.
21662246

2167-
<h2 id=conformance><span class=secno>9. </span>Conformance</h2>
2247+
<h2 id=conformance><span class=secno>10. </span>Conformance</h2>
21682248

2169-
<h2 id=changes><span class=secno>10. </span>Changes</h2>
2249+
<h2 id=changes><span class=secno>11. </span>Changes</h2>
21702250

2171-
<h3 id="changes_from_June_09_2011"><span class=secno>10.1. </span>Changes
2251+
<h3 id="changes_from_June_09_2011"><span class=secno>11.1. </span>Changes
21722252
from <a
21732253
href="http://www.w3.org/TR/2011/WD-css3-regions-20111129/">November
21742254
29<sup>th</sup> 2011</a> version</h3>
@@ -2242,9 +2322,14 @@ <h3 id="changes_from_June_09_2011"><span class=secno>10.1. </span>Changes
22422322
<li>Fixed Web IDL issues as reported in <a
22432323
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15931">Issue
22442324
15931</a>
2325+
2326+
<li>Added text to explain support for multi-column elements as required by
2327+
<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15191">Issue
2328+
15191</a> and <a
2329+
href="http://www.w3.org/Style/CSS/Tracker/actions/375">Action 375</a>.
22452330
</ul>
22462331

2247-
<h3 id="changes_from_June_09_2011"><span class=secno>10.2. </span>Changes
2332+
<h3 id="changes_from_June_09_2011"><span class=secno>11.2. </span>Changes
22482333
from <a href="http://www.w3.org/TR/2011/WD-css3-regions-20110609/">June
22492334
09<sup>th</sup> 2011</a> version</h3>
22502335

@@ -2737,7 +2822,7 @@ <h2 class=no-num id=index>Index</h2>
27372822
title=break-inside><strong>4.3.</strong></a>
27382823

27392824
<li>contentNodes, <a href="#dom-namedflow-contentnodes"
2740-
title=contentNodes><strong>6.1.</strong></a>
2825+
title=contentNodes><strong>7.1.</strong></a>
27412826

27422827
<li>current-region, <a href="#current-region"
27432828
title=current-region><strong>2.3.</strong></a>
@@ -2749,45 +2834,45 @@ <h2 class=no-num id=index>Index</h2>
27492834
title=flow-into><strong>4.1.</strong></a>
27502835

27512836
<li>getRegionFlowRanges, <a href="#dom-element-getregionflowranges"
2752-
title=getRegionFlowRanges><strong>6.2.</strong></a>
2837+
title=getRegionFlowRanges><strong>7.2.</strong></a>
27532838

27542839
<li>getRegionsByContentNode(), <a
27552840
href="#dom-namedflow-getregionsbycontentnodes"
2756-
title="getRegionsByContentNode()"><strong>6.1.</strong></a>
2841+
title="getRegionsByContentNode()"><strong>7.1.</strong></a>
27572842

27582843
<li><a href="#dom-namedflow-collection-item"><code
27592844
class=idl>item(index)</code></a>, <a
27602845
href="#dom-namedflow-collection-item"
2761-
title="item(index)"><strong>6.1.</strong></a>
2846+
title="item(index)"><strong>7.1.</strong></a>
27622847

27632848
<li><a href="#dom-namedflow-collection-length"><code
27642849
class=idl>length</code></a>, <a href="#dom-namedflow-collection-length"
2765-
title=length><strong>6.1.</strong></a>
2850+
title=length><strong>7.1.</strong></a>
27662851

27672852
<li><a href="#dom-namedflow-name"><code class=idl>name</code></a>, <a
2768-
href="#dom-namedflow-name" title=name><strong>6.1.</strong></a>
2853+
href="#dom-namedflow-name" title=name><strong>7.1.</strong></a>
27692854

27702855
<li><a href="#dom-namedflow"><code class=idl>NamedFlow</code></a>, <a
2771-
href="#dom-namedflow" title=NamedFlow><strong>6.1.</strong></a>
2856+
href="#dom-namedflow" title=NamedFlow><strong>7.1.</strong></a>
27722857

27732858
<li>named flow, <a href="#named-flow0"
27742859
title="named flow"><strong>2.2.</strong></a>
27752860

27762861
<li><a href="#dom-namedflow-collection"><code
27772862
class=idl>NamedFlowCollection</code></a>, <a
27782863
href="#dom-namedflow-collection"
2779-
title=NamedFlowCollection><strong>6.1.</strong></a>
2864+
title=NamedFlowCollection><strong>7.1.</strong></a>
27802865

27812866
<li><a href="#dom-namedflow-overflow"><code class=idl>overflow</code></a>,
27822867
<a href="#dom-namedflow-overflow"
2783-
title=overflow><strong>6.1.</strong></a>
2868+
title=overflow><strong>7.1.</strong></a>
27842869

27852870
<li>region, <a href="#region" title=region>2.1.</a>
27862871

27872872
<li><a href="#dom-element-regionoverflow"><code
27882873
class=idl>regionOverflow</code></a>, <a
27892874
href="#dom-element-regionoverflow"
2790-
title=regionOverflow><strong>6.2.</strong></a>
2875+
title=regionOverflow><strong>7.2.</strong></a>
27912876

27922877
<li>region-overflow, <a href="#region-overflow"
27932878
title=region-overflow><strong>4.4.</strong></a>
@@ -2814,7 +2899,7 @@ <h2 class=no-num id=property-index>Property index</h2>
28142899
<script src=BugzillaTrackerCSSRegions.js type="text/javascript"></script>
28152900

28162901
<div id=issue-manager>
2817-
<h2 id=issue-manager0><span class=secno>11. </span>Issue manager</h2>
2902+
<h2 id=issue-manager0><span class=secno>12. </span>Issue manager</h2>
28182903

28192904
<form action="#"></form>
28202905
<label> <input checked name=issue-filter type=radio value=all> All issues

0 commit comments

Comments
 (0)