Skip to content

Commit 7210ce7

Browse files
committed
[css-regions] remove run-in references and clarify ::before and ::after block boxes
1 parent 8a780b4 commit 7210ce7

2 files changed

Lines changed: 19 additions & 29 deletions

File tree

css-regions/Overview.html

Lines changed: 14 additions & 16 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-09-25 name=dcterms.date>
15+
<meta content=2013-10-09 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>
@@ -46,8 +46,7 @@
4646

4747
<h1 id=css-regions-module>CSS Regions Module Level 1</h1>
4848

49-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 September
50-
2013</h2>
49+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 October 2013</h2>
5150

5251
<dl>
5352
<dt>This version:
@@ -1701,24 +1700,14 @@ <h2 id="pseudo_elements"><span class=secno>5. </span>Pseudo-elements</h2>
17011700
<h3 id=processing-model><span class=secno>5.1. </span>Processing model</h3>
17021701

17031702
<p>The ‘<code class=css>::before</code>’ content is laid out in the
1704-
region prior to any other content coming from the flow. Note that it is
1705-
possible to set the ‘<code class=css>::before</code>’ pseudo-element's
1706-
<code class=property>display</code>’ property to ‘<code
1707-
class=property>run-in</code>’ to align it with the content's inline
1708-
boxes.
1703+
region prior to any other content coming from the flow.
17091704

17101705
<p>The ‘<code class=css>::after</code>’ content is laid out in the
17111706
region after laying out the flow fragment content. Then, flow content is
17121707
removed from the fragment to accommodate the ‘<code
17131708
class=css>::after</code>’ content. Accommodating means that the ‘<code
17141709
class=css>::after</code>’ content is laid out without overflowing the
1715-
region. The ‘<code class=property>display</code>’ property of the
1716-
<code class=css>::after</code>’ content can be set to ‘<code
1717-
class=property>run-in</code>’ to align with the region's content's
1718-
inline boxes. In that case, the ‘<code class=css>::after</code>
1719-
content aligns with the last inline box of the previous element in the
1720-
flow that has some visual rendering in the region and can accommodate for
1721-
the ‘<code class=css>::after</code>’ box.
1710+
region.
17221711

17231712
<p>If there is not enough room to accommodate the ::before content, the
17241713
<code class=css>::after</code>’ content after removing all flow
@@ -1800,7 +1789,7 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
18001789
<em>index</em> is out of range. An object <code>collection</code>
18011790
implementing <a
18021791
href="#dom-named-flow-collection"><code>NamedFlowCollection</code></a>
1803-
supports indices in the range <code>0 ≤ index <
1792+
supports indices in the range <code>0 ≤ index &lt;
18041793
collection.length</code>.
18051794

18061795
<p>The <dfn id=dom-named-flow-collection-named-item><code
@@ -2265,6 +2254,12 @@ <h3 id=regions-flow-content-box><span class=secno>7.1. </span>The Region
22652254
<code class=property>auto</code>’ and a whose used ‘<code
22662255
class=property>height</code>’ is resolved as detailed below.
22672256

2257+
<p>Since the <a href="#rfcb">RFCB</a> is a <a
2258+
href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block container
2259+
box</a>, the ::before box and ::after box will also be block containers,
2260+
though the contents of ::before and ::after may be inline within those
2261+
boxes.
2262+
22682263
<h4 id=rfcb-width-resolution><span class=secno>7.1.1. </span>RFCB ‘<code
22692264
class=property>width</code>’ resolution</h4>
22702265

@@ -2832,6 +2827,9 @@ <h3 id="changes_from_May_28_2013"><span class=secno>12.1. </span>Changes
28322827
28<sup>th</sup> 2013</a> version</h3>
28332828

28342829
<ul>
2830+
<li>Remove mention of run-in and clarify ::before and ::after block
2831+
containers
2832+
28352833
<li>Removed custom element syntax from examples
28362834

28372835
<li>Changed NamedFlowCollection getters back to null when there is no

css-regions/Overview.src.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,26 +1534,15 @@ <h3 id="processing-model">Processing model</h3>
15341534

15351535
<p>The '::before' content is laid out
15361536
in the region prior to
1537-
any other content coming from the flow.
1538-
Note that it is possible
1539-
to set the '::before' pseudo-element's 'display' property
1540-
to 'run-in' to align it
1541-
with the content's inline boxes.</p>
1537+
any other content coming from the flow.</p>
15421538

15431539
<p>The '::after' content is laid out
15441540
in the region after laying out
15451541
the flow fragment content.
15461542
Then, flow content is removed from the fragment
15471543
to accommodate the '::after' content.
15481544
Accommodating means that the '::after' content
1549-
is laid out without overflowing the region.
1550-
The 'display' property of the '::after' content
1551-
can be set to 'run-in' to align
1552-
with the region's content's inline boxes.
1553-
In that case, the '::after' content aligns with
1554-
the last inline box of the previous element
1555-
in the flow that has some visual rendering
1556-
in the region and can accommodate for the '::after' box.</p>
1545+
is laid out without overflowing the region.</p>
15571546

15581547
<p>If there is not enough room to accommodate
15591548
the ::before content,
@@ -2040,6 +2029,8 @@ <h3 id="regions-flow-content-box">The Region Flow Content Box (RFCB)</h3>
20402029
<p>The <span>RFCB</span> is a <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block container box</a>
20412030
with a computed 'width' of 'auto' and a whose used 'height' is
20422031
resolved as detailed below.</p>
2032+
2033+
<p>Since the <span>RFCB</span> is a <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block container box</a>, the ::before box and ::after box will also be block containers, though the contents of ::before and ::after may be inline within those boxes.</p>
20432034

20442035
<h4 id="rfcb-width-resolution">RFCB 'width' resolution</h4>
20452036

@@ -2436,6 +2427,7 @@ <h2 id="changes">Changes</h2>
24362427
<h3 id="changes_from_May_28_2013">Changes from <a href="http://www.w3.org/TR/2013/WD-css3-regions-20130528/">May 28<sup>th</sup> 2013</a> version</h3>
24372428

24382429
<ul>
2430+
<li>Remove mention of run-in and clarify ::before and ::after block containers</li>
24392431
<li>Removed custom element syntax from examples</li>
24402432
<li>Changed NamedFlowCollection getters back to null when there is no NamedFlow.</li>
24412433
<li>Removed issue on user events and added note describing solution(s)</li>

0 commit comments

Comments
 (0)