Skip to content

Commit 3cfb965

Browse files
committed
[css-regions] revert flow-from restriction
1 parent 122468e commit 3cfb965

2 files changed

Lines changed: 33 additions & 10 deletions

File tree

css-regions/Overview.html

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
rel=dcterms.rights>
1313
<meta content="CSS Regions Module Level 1" name=dcterms.title>
1414
<meta content=text name=dcterms.type>
15-
<meta content=2013-07-10 name=dcterms.date>
15+
<meta content=2013-07-19 name=dcterms.date>
1616
<meta content="Vincent Hardy" name=dcterms.creator>
1717
<meta content="Rossen Atanassov" name=dcterms.creator>
1818
<meta content="Alan Stearns" name=dcterms.creator>
@@ -43,7 +43,7 @@
4343

4444
<h1 id=css-regions-module>CSS Regions Module Level 1</h1>
4545

46-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 10 July 2013</h2>
46+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 19 July 2013</h2>
4747

4848
<dl>
4949
<dt>This version:
@@ -858,8 +858,7 @@ <h3 id=the-flow-from-property><span class=secno>3.2. </span>The ‘<a
858858

859859
<td>Non-replaced <a
860860
href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block
861-
containers</a> whose display property computes to block, inline-block
862-
or table-cell. <br>
861+
containers</a>. <br>
863862
This might be expanded in future versions of the specification to allow
864863
other types of containers to receive flow content.
865864

@@ -956,6 +955,20 @@ <h3 id=the-flow-from-property><span class=secno>3.2. </span>The ‘<a
956955
selector is still associated with that empty <a href="#named-flow0">named
957956
flow</a> and, consequently, its children are not formatted visually.</div>
958957

958+
<div class=note><span class=note-prefix>Note </span>
959+
<p>At the time of this note-writing, the <code>display</code> values that
960+
always result in a non-replaced block container include
961+
<code>block</code>, <code>inline-block</code>, <code>table-cell</code>,
962+
<code>table-caption</code>, and <code>list-item</code>. All of these
963+
display values work as regions with non-replaced elements.
964+
965+
<p>The <code>flex</code> and <code>grid</code> display values do not
966+
result in block containers (they are defined as flex containers and grid
967+
elements, respectively). So ‘<a href="#flow-from"><code
968+
class=property>flow-from</code></a>’ combined with those display values
969+
does not result in a CSS Region.
970+
</div>
971+
959972
<p><a href="#css-region" title=region>CSS Regions</a> create a new <a
960973
href="http://www.w3.org/TR/CSS2/visuren.html#z-index">stacking
961974
context</a>. <a href="#css-region" title=region>CSS Regions</a> establish
@@ -2842,8 +2855,6 @@ <h3 id="changes_from_May_28_2013"><span class=secno>12.1. </span>Changes
28422855
<li>Changed NamedFlowCollection getters back to null when there is no
28432856
NamedFlow.
28442857

2845-
<li>Restricted flow-from to blocks, inline-blocks and table-cells
2846-
28472858
<li>Removed issue on user events and added note describing solution(s)
28482859

28492860
<li>Changed type of NamedFlow.getContent() from NodeList to
@@ -3463,8 +3474,7 @@ <h2 class=no-num id=property-index>Property index</h2>
34633474

34643475
<td>none
34653476

3466-
<td>Non-replaced block containers whose display property computes to
3467-
block, inline-block or table-cell. This might be expanded in future
3477+
<td>Non-replaced block containers. This might be expanded in future
34683478
versions of the specification to allow other types of containers to
34693479
receive flow content.
34703480

css-regions/Overview.src.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ <h3 id="the-flow-from-property">The 'flow-from' property</h3>
671671
<tr>
672672
<th>Applies to:</th>
673673

674-
<td>Non-replaced <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block containers</a> whose display property computes to block, inline-block or table-cell.
674+
<td>Non-replaced <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block containers</a>.
675675
<br/>
676676
This might be expanded in future versions of the specification
677677
to allow other types of containers to receive flow content.</td>
@@ -783,6 +783,20 @@ <h3 id="the-flow-from-property">The 'flow-from' property</h3>
783783
its children are not formatted visually.
784784
</div>
785785

786+
<div class=note><span class=note-prefix>Note </span>
787+
<p>At the time of this note-writing, the <code>display</code> values that
788+
always result in a non-replaced block container include
789+
<code>block</code>, <code>inline-block</code>, <code>table-cell</code>,
790+
<code>table-caption</code>, and <code>list-item</code>. All of these
791+
display values work as regions with non-replaced elements.
792+
793+
<p>The <code>flex</code> and <code>grid</code> display values do not
794+
result in block containers (they are defined as flex containers and grid
795+
elements, respectively). So ‘<a href="#flow-from"><code
796+
class=property>flow-from</code></a>’ combined with those display values
797+
does not result in a CSS Region.
798+
</div>
799+
786800
<p><span title="region">CSS Regions</span>
787801
create a new
788802
<a href="http://www.w3.org/TR/CSS2/visuren.html#z-index">stacking context</a>.
@@ -2449,7 +2463,6 @@ <h3 id="changes_from_May_28_2013">Changes from <a href="http://www.w3.org/TR/201
24492463

24502464
<ul>
24512465
<li>Changed NamedFlowCollection getters back to null when there is no NamedFlow.</li>
2452-
<li>Restricted flow-from to blocks, inline-blocks and table-cells</li>
24532466
<li>Removed issue on user events and added note describing solution(s)</li>
24542467
<li>Changed type of NamedFlow.getContent() from NodeList to sequence&lt;Node&gt;</li>
24552468
</ul>

0 commit comments

Comments
 (0)