Skip to content

Commit 494255d

Browse files
committed
Fixed issue styling to hide older resoved issues. Added note about how a region with no flow content is still a region
1 parent adfd188 commit 494255d

2 files changed

Lines changed: 65 additions & 5 deletions

File tree

css3-regions/Overview.html

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
div.issue-marker a {
4545
color: red;
4646
}
47+
48+
.issue.resolved, .issue.stale, .issue.moved {
49+
display: none;
50+
}
4751
</style>
4852

4953
<body>
@@ -53,14 +57,14 @@
5357

5458
<h1 id=css-regions-module>CSS Regions Module</h1>
5559

56-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 27 October
60+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 October
5761
2011</h2>
5862

5963
<dl>
6064
<dt>This version:
6165

6266
<dd><a
63-
href="http://www.w3.org/TR/2011/ED-css3-regions-20111027/">http://www.w3.org/csswg/css3-regions</a>
67+
href="http://www.w3.org/TR/2011/ED-css3-regions-20111029/">http://www.w3.org/csswg/css3-regions</a>
6468

6569
<dt>Latest version:
6670

@@ -780,8 +784,36 @@ <h3 id=the-flow-from-property><span class=secno>4.2. </span>The &lsquo;<a
780784
then the element does not format any content visually.
781785
</dl>
782786

783-
<p>Note that a region's document children are not visually formatted unless
784-
they are directed to a named flow referenced by one or more regions.
787+
<p class=note>A region's document children are not visually formatted
788+
unless they are directed to a named flow referenced by one or more
789+
regions.
790+
791+
<div class=note>
792+
<p>An element becomes a region when its &lsquo;<a href="#flow-from"><code
793+
class=property>flow-from</code></a>&rsquo; property is set to a valid
794+
&lt;ident&gt; value, even if there is no content contributing to the
795+
referenced flow. For example:</p>
796+
<code></code>
797+
<pre>
798+
&lt;style&gt;
799+
.article{
800+
flow-into: thread;
801+
}
802+
.region{
803+
flow-from: thread;
804+
}
805+
&lt;/style&gt;
806+
&lt;html&gt;
807+
&lt;body&gt;
808+
&lt;div class=region&gt;div content&lt;/div&gt;
809+
&lt;/body&gt;
810+
&lt;/html&gt;
811+
</pre>
812+
There is no element matching the <code>.article</code> selector and
813+
therefore no content in the <code>thread</code> flow. However, the element
814+
matching the <code>.region</code> selector is still associated with that
815+
empty named flow and, consequently, its children are not formatted
816+
visually.</div>
785817

786818
<div class="issue resolved">
787819
<p><a

css3-regions/Overview.src.html

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
div.issue-marker a {
4545
color: red;
4646
}
47+
48+
.issue.resolved, .issue.stale, .issue.moved {
49+
display: none;
50+
}
4751
</style>
4852

4953

@@ -594,9 +598,33 @@ <h3 id="the-flow-from-property">The 'flow-from' property</h3>
594598
</dd>
595599
</dl>
596600

597-
<p>Note that a region's document children are not visually formatted unless they are directed to a named flow
601+
<p class="note">A region's document children are not visually formatted unless they are directed to a named flow
598602
referenced by one or more regions.</p>
599603

604+
<div class="note"><p>An element becomes a region when its 'flow-from' property is set to a valid
605+
&lt;ident&gt; value, even if there is no content contributing to the referenced flow.
606+
For example:</p>
607+
<code><pre>
608+
&lt;style&gt;
609+
.article{
610+
flow-into: thread;
611+
}
612+
.region{
613+
flow-from: thread;
614+
}
615+
&lt;/style&gt;
616+
&lt;html&gt;
617+
&lt;body&gt;
618+
&lt;div class=region&gt;div content&lt;/div&gt;
619+
&lt;/body&gt;
620+
&lt;/html&gt;
621+
</code></pre>
622+
623+
There is no element matching the <code>.article</code> selector and therefore no
624+
content in the <code>thread</code> flow. However, the element matching the <code>.region</code>
625+
selector is still associated with that empty named flow and, consequently, its children
626+
are not formatted visually.
627+
</div>
600628
<div class="issue resolved">
601629
<p><a href="http://lists.w3.org/Archives/Public/www-style/2011Aug/0069.html">Third resolution on
602630
Regions at the Seattle Face to Face meeting, July 2011</a>. Superseded by resolution during

0 commit comments

Comments
 (0)