Skip to content

Commit 827ed8a

Browse files
committed
Integrated bug descriptions into markers. Tweaked stylesheet.
1 parent adef41f commit 827ed8a

4 files changed

Lines changed: 451 additions & 68 deletions

File tree

css3-regions/Overview.html

Lines changed: 178 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
/* License font the following two fonts: fonts/Droid-Serif-fontfacekit/Google Android License.txt */
1717
@import url(fonts/Droid-Serif-fontfacekit/stylesheet.css);
1818
@import url(fonts/Droid-Sans-Mono-fontfacekit/stylesheet.css);
19-
20-
/*
21-
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:700,400,400italic,700italic);
22-
@import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono);
23-
*/
2419

2520
a.toggle {
2621
position: fixed;
@@ -59,6 +54,60 @@
5954
#mobile-logo {
6055
display: none;
6156
}
57+
58+
@media screen and (min-width: 58em){
59+
.issue-marker {
60+
position: absolute;
61+
width: 20ex;
62+
margin-left: -22ex;
63+
text-align: right;
64+
}
65+
}
66+
67+
@media screen and (max-width: 58em){
68+
.issue-marker {
69+
}
70+
71+
.issue-marker a:link {
72+
padding-left: 0.5em;
73+
}
74+
}
75+
76+
77+
78+
.issue-marker {
79+
background:#eee;
80+
border:1px solid #ddd;
81+
font-size: 1em;
82+
}
83+
84+
.issue-marker a:link {
85+
color: #c00;
86+
background: none;
87+
font-weight: normal;
88+
padding-right: 0.5em;
89+
}
90+
91+
.issue-details {
92+
padding:0.5em;
93+
font-size: 0.8em;
94+
line-height: 1.5;
95+
}
96+
97+
.issue-details p{
98+
padding:0;
99+
margin:0;
100+
}
101+
102+
.issue-details .status{
103+
background:#333;
104+
color:white;
105+
float:left;
106+
padding:0.15em 0.8em;
107+
font-size:0.8em;
108+
margin-right:0.8em;
109+
text-transform:uppercase;
110+
}
62111
</style>
63112
<link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
64113
type="text/css">
@@ -77,14 +126,14 @@
77126

78127
<h1 id=css-regions-module>CSS Regions Module Level 3</h1>
79128

80-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 January
129+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 31 January
81130
2012</h2>
82131

83132
<dl>
84133
<dt>This version:
85134

86135
<dd><a
87-
href="http://www.w3.org/TR/2012/ED-css3-regions-20120125/">http://www.w3.org/csswg/css3-regions</a>
136+
href="http://www.w3.org/TR/2012/ED-css3-regions-20120131/">http://www.w3.org/csswg/css3-regions</a>
88137

89138
<dt>Latest version:
90139

@@ -97,6 +146,12 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 January
97146
href="http://www.w3.org/TR/2011/WD-css3-regions-20111129/">http://www.w3.org/TR/2011/WD-css3-regions-20111129/</a>
98147

99148

149+
<dt>Issues:
150+
151+
<dd><a
152+
href="https://www.w3.org/Bugs/Public/buglist.cgi?product=CSS&component=CSS%20Regions&resolution=---">Bugzilla
153+
Bugs for CSS regions</a>
154+
100155
<dt>Editors:
101156

102157
<dd class=vcard><span class=fn>Vincent Hardy</span>, <span
@@ -301,6 +356,13 @@ <h2 id=introduction><span class=secno>1. </span>Introduction</h2>
301356

302357
<p><em>This section is non-normative.</em>
303358

359+
<div class=issue-marker> <a
360+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15159">Bug-15159</a>
361+
<div class=issue-details>
362+
<p class=short-desc>Add code samples to the CSS regions use cases page</p>
363+
</div>
364+
</div>
365+
304366
<p>Capturing the complex layouts of a typical magazine, newspaper, or
305367
textbook requires capabilities beyond those available in existing CSS
306368
modules. This is the purpose of the CSS regions module.
@@ -315,6 +377,14 @@ <h2 id=introduction><span class=secno>1. </span>Introduction</h2>
315377
another, where the areas are the multi-column element's column boxes and
316378
the flow is made of the multi-column element's children.
317379

380+
<div class=issue-marker> <a
381+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15733">Bug-15733</a>
382+
<div class=issue-details>
383+
<p class=short-desc>Should the region specification define a mechanism to
384+
create blocks that can be regions with CSS syntax?</p>
385+
</div>
386+
</div>
387+
318388
<p>However, for more complex layouts, content needs to flow from one area
319389
of the page to the next without limitation of the areas' sizes and
320390
positions. These arbitrary areas are the target of specific content flows.
@@ -334,6 +404,13 @@ <h3 id=named-flows-and-regions><span class=secno>1.1. </span>Named flows
334404
<p class=caption>Layout requiring sophisticated content flow</p>
335405
</div>
336406

407+
<div class=issue-marker> <a
408+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15131">Bug-15131</a>
409+
<div class=issue-details>
410+
<p class=short-desc>Add layout to initial example</p>
411+
</div>
412+
</div>
413+
337414
<p>The designer's intent is to position an image in region &lsquo;<code
338415
class=property>A</code>&rsquo; and to flow an article's text from region
339416
&lsquo;<code class=css>1</code>&rsquo;, to region &lsquo;<code
@@ -486,6 +563,14 @@ <h2 id=css-regions-concepts><span class=secno>2. </span>CSS regions
486563

487564
<h3 id=regions><span class=secno>2.1. </span>Regions</h3>
488565

566+
<div class=issue-marker> <a
567+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15186">Bug-15186</a>
568+
<div class=issue-details>
569+
<p class=short-desc>Is a mechanism to auto-generate regions necessary in
570+
order to support reusable style sheets?</p>
571+
</div>
572+
</div>
573+
489574
<p class=index id=region title=region>A region is an element that generates
490575
a <a href="http://www.w3.org/TR/CSS21/visuren.html#block-boxes">block
491576
container box</a> and has an associated <a href="#named-flow0"><em>named
@@ -694,8 +779,12 @@ <h3 id=the-flow-from-property><span class=secno>4.2. </span>The &lsquo;<a
694779
class=property>flow-from</code></a>&rsquo; property makes an element a
695780
region and associates it with a named flow.
696781

697-
<div class=issue-marker><a
698-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15191">Bug-15191</a></div>
782+
<div class=issue-marker> <a
783+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15191">Bug-15191</a>
784+
<div class=issue-details>
785+
<p class=short-desc>Should we allow multi-column elements to be regions?</p>
786+
</div>
787+
</div>
699788

700789
<table class=propdef summary="flow-from property definition">
701790
<tbody>
@@ -801,8 +890,12 @@ <h3 id=the-flow-from-property><span class=secno>4.2. </span>The &lsquo;<a
801890
empty named flow and, consequently, its children are not formatted
802891
visually.</div>
803892

804-
<div class=issue-marker><a
805-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15189">Bug-15189</a></div>
893+
<div class=issue-marker> <a
894+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15189">Bug-15189</a>
895+
<div class=issue-details>
896+
<p class=short-desc>Should regions be non-breakable?</p>
897+
</div>
898+
</div>
806899

807900
<p><span title=region>Regions</span> create a new <a
808901
href="http://www.w3.org/TR/CSS2/visuren.html#z-index">stacking
@@ -862,6 +955,13 @@ <h3 id=the-flow-from-property><span class=secno>4.2. </span>The &lsquo;<a
862955
<h4 id=auto-width-on-regions><span class=secno>4.2.1. </span>Auto width on
863956
regions</h4>
864957

958+
<div class=issue-marker> <a
959+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15741">Bug-15741</a>
960+
<div class=issue-details>
961+
<p class=short-desc>Regions intrinsic size</p>
962+
</div>
963+
</div>
964+
865965
<p>A computed value of &lsquo;<code class=property>auto</code>&rsquo; for a
866966
region's &lsquo;<code class=property>width</code>&rsquo; property becomes
867967
a used value calculated based on the region's <em>::before</em> and
@@ -1234,8 +1334,12 @@ <h3 id=the-at-region-style-rule><span class=secno>4.5. </span>The @region
12341334
rel=biblioentry>[DOM-LEVEL-2-TRAVERSAL-RANGE]<!--{{DOM-LEVEL-2-TRAVERSAL-RANGE}}--></a>)
12351335
from the region's flow that flows in the selected region(s).
12361336

1237-
<div class=issue-marker><a
1238-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15713">Bug-15713</a></div>
1337+
<div class=issue-marker> <a
1338+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15713">Bug-15713</a>
1339+
<div class=issue-details>
1340+
<p class=short-desc>Model for styling element fragments</p>
1341+
</div>
1342+
</div>
12391343

12401344
<p>Elements that are fully or partially in the &lsquo;<code class=css>flow
12411345
segment</code>&rsquo; may match any of the selectors found in the style
@@ -1244,8 +1348,12 @@ <h3 id=the-at-region-style-rule><span class=secno>4.5. </span>The @region
12441348

12451349
<p>Only a limited list of properties can be set in a region style rule:
12461350

1247-
<div class=issue-marker><a
1248-
href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15190">Bug-15190</a></div>
1351+
<div class=issue-marker> <a
1352+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15190">Bug-15190</a>
1353+
<div class=issue-details>
1354+
<p class=short-desc>List of region style properties</p>
1355+
</div>
1356+
</div>
12491357

12501358
<ol>
12511359
<li><a href="http://www.w3.org/TR/CSS2/fonts.html">font properties</a>
@@ -1396,6 +1504,13 @@ <h3 id=the-at-region-style-rule><span class=secno>4.5. </span>The @region
13961504
class=html>region_1</code> is styled with this rule.</p>
13971505
</div>
13981506

1507+
<div class=issue-marker> <a
1508+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15734">Bug-15734</a>
1509+
<div class=issue-details>
1510+
<p class=short-desc>@region and specificity</p>
1511+
</div>
1512+
</div>
1513+
13991514
<p>The specificity of the selectors in a &lsquo;<code
14001515
class=css>@region</code>&rsquo; rule is calculated as <a
14011516
href="http://www.w3.org/TR/css3-selectors/#specificity">defined</a> in the
@@ -1423,7 +1538,13 @@ <h3 id=the-at-region-style-rule><span class=secno>4.5. </span>The @region
14231538

14241539
<h2 id="pseudo_elements"><span class=secno>5. </span>Pseudo-elements</h2>
14251540

1426-
<p><em>This section is normative.</em>
1541+
<div class=issue-marker> <a
1542+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15188">Bug-15188</a>
1543+
<div class=issue-details>
1544+
<p class=short-desc>add functionality for having textual describtion like
1545+
"continued here" or "continued on page x" to regions.</p>
1546+
</div>
1547+
</div>
14271548

14281549
<p>It can be useful to visually mark the content to highlight that a
14291550
content thread is flowing from region to region. For example, a marker
@@ -1467,7 +1588,12 @@ <h3 id=processing-model><span class=secno>5.1. </span>Processing model</h3>
14671588
<h2 id="cssom_view_and_css_regions"><span class=secno>6. </span>CSSOM view
14681589
and CSS regions</h2>
14691590

1470-
<p><em>This section is normative.</em>
1591+
<div class=issue-marker> <a
1592+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15679">Bug-15679</a>
1593+
<div class=issue-details>
1594+
<p class=short-desc>elementFromPoint and CSS regions</p>
1595+
</div>
1596+
</div>
14711597

14721598
<p>Since content may flow into multiple regions, authors need a way to
14731599
determine if there are enough regions to flow all the content from a named
@@ -1476,6 +1602,13 @@ <h2 id="cssom_view_and_css_regions"><span class=secno>6. </span>CSSOM view
14761602
content on a mobile phone with a small screen may require more regions
14771603
than on a large desktop display.
14781604

1605+
<div class=issue-marker> <a
1606+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15010">Bug-15010</a>
1607+
<div class=issue-details>
1608+
<p class=short-desc>Need to add a CSSRegionRule to Region OM</p>
1609+
</div>
1610+
</div>
1611+
14791612
<p>Another example where creating more regions might be needed: if the user
14801613
may change the font size of text flowing through regions, new regions may
14811614
be needed to accommodate for the additional space required to fit the
@@ -1492,6 +1625,14 @@ <h2 id="cssom_view_and_css_regions"><span class=secno>6. </span>CSSOM view
14921625
<h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
14931626
interface</h3>
14941627

1628+
<div class=issue-marker> <a
1629+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?14948">Bug-14948</a>
1630+
<div class=issue-details>
1631+
<p class=short-desc>What should getFlowByName return if there is no flow
1632+
with the given name?</p>
1633+
</div>
1634+
</div>
1635+
14951636
<p>The <code class=idl>getFlowByName</code> method on the <a
14961637
href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#i-Document"><code
14971638
class=idl>Document</code></a> interface provides access to the document's
@@ -1501,8 +1642,7 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
15011642
[Supplemental] interface <a
15021643
href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#i-Document">Document</a> {
15031644
<a
1504-
href="#dom-namedflow">NamedFlow</a>
1505-
getFlowByName(<a
1645+
href="#dom-namedflow">NamedFlow</a> getFlowByName(<a
15061646
href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMString">DOMString</a> name);
15071647
};
15081648
</pre>
@@ -1536,9 +1676,12 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
15361676
<p>The <dfn
15371677
id=dom-namedflow-getregionsbycontentnodes>getRegionsByContentNode()</dfn>
15381678
method gets a collection of regions that contain at least part of the
1539-
target content node. This can be used to navigate by bookmark in paginated
1540-
view: the method returns regions containing the bookmarked element, which
1541-
are then passed to pagination UI to show desired region or page.
1679+
target content node. The returned <code class=idl>NodeList</code> is live:
1680+
every time the method is called with the same <code class=idl>node</code>
1681+
argument, it must return the same object, and the object is always up to
1682+
date.This can be used to navigate by bookmark in paginated view: the
1683+
method returns regions containing the bookmarked element, which are then
1684+
passed to pagination UI to show desired region or page.
15421685

15431686
<p>With the <a href="#dom-namedflow"><code class=idl>NamedFlow</code></a>
15441687
interface, authors can easily check if all content has been fitted into
@@ -1631,6 +1774,13 @@ <h3 id=extension-to-the-element-interface><span class=secno>6.2.
16311774
<h3 id=region-flow-layout-events><span class=secno>6.3. </span>Region flow
16321775
layout events</h3>
16331776

1777+
<div class=issue-marker> <a
1778+
href="https://www.w3.org/Bugs/Public/show_bug.cgi?15009">Bug-15009</a>
1779+
<div class=issue-details>
1780+
<p class=short-desc>Should we have additional events for CSS Regions?</p>
1781+
</div>
1782+
</div>
1783+
16341784
<p>Region <a
16351785
href="http://www.w3.org/TR/DOM-Level-3-Events/#glossary-event">Event
16361786
Targets</a> dispatch <code class=idl>regionLayoutUpdate</code> events when
@@ -1764,6 +1914,10 @@ <h3 id="changes_from_June_09_2011"><span class=secno>10.1. </span>Changes
17641914
class=property>partial</code>&rsquo; styling needs to be defined. See <a
17651915
href="http://lists.w3.org/Archives/Public/www-style/2011Dec/0480.html">mailing
17661916
list feedback</a>.
1917+
1918+
<li>Clarified that the <code>NodeList</code> returned by <a
1919+
href="#dom-namedflow-getregionsbycontentnodes"><code>getRegionsByContentNode</code></a>
1920+
is live.
17671921
</ul>
17681922

17691923
<h3 id="changes_from_June_09_2011"><span class=secno>10.2. </span>Changes
@@ -2047,6 +2201,8 @@ <h2 class=no-num id=acknowledgments>Acknowledgments</h2>
20472201

20482202
<li>Arno Gourdol, Adobe Systems, Inc.
20492203

2204+
<li>Håkon Wium Lie, Opera Software.
2205+
20502206
<li>Mihnea Ovidenie, Adobe Systems, Inc.
20512207

20522208
<li>Virgil Palanciuc, Adobe Systems, Inc.

0 commit comments

Comments
 (0)