Skip to content

Commit ceecea3

Browse files
committed
Add 'Issue' as GC for .issue so that we are not relying only on color. Sync default.css to my specs' directories
1 parent a3a5f0c commit ceecea3

File tree

5 files changed

+93
-39
lines changed

5 files changed

+93
-39
lines changed

css-2010/Overview.src.html

+3-12
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
5050
comments</strong> is <strong>????</strong>.
5151
-->
5252

53-
<p>This is the first public working draft of the 2010 snapshot of
54-
CSS. The <a href="http://www.w3.org/TR/css-beijing/">previous
55-
snapshot</a> was for 2007.
56-
5753
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
5854

5955
<!--toc-->
@@ -206,18 +202,13 @@ <h2 id="css">Cascading Style Sheets Definition</h2>
206202

207203
<p>As of 2010,
208204
<dfn>Cascading Style Sheets (CSS)</dfn> is defined by the following
209-
specifications. Each specification in this list builds on and possibly
210-
modifies the definitions in the previous specifications, with the base
211-
formed by <cite>CSS Level 2 Revision 1</cite>. (In other words, CSS
212-
is defined as <cite>CSS Level 2 Revision 1</cite>, modified by <cite>CSS
213-
Namespaces</cite>, modified by <cite>Selectors Level 3</cite>, etc.)
214-
A valid CSS document is one that conforms to this definition.</p>
205+
specifications.
215206

216207
<ol>
217208
<li><a href="http://www.w3.org/TR/CSS21/">CSS Level 2 Revision 1</a>
218209
(including errata)
219-
<li><a href="http://www.w3.org/TR/css3-mediaqueries/">Media Queries Level 3</a>
220210
<li><a href="http://www.w3.org/TR/css-style-attr/">CSS Style Attributes</a>
211+
<li><a href="http://www.w3.org/TR/css3-mediaqueries/">Media Queries Level 3</a>
221212
<li><a href="http://www.w3.org/TR/css3-namespace/">CSS Namespaces</a>
222213
<li><a href="http://www.w3.org/TR/css3-selectors/">Selectors Level 3</a>
223214
<li><a href="http://www.w3.org/TR/css3-color/">CSS Color Level 3</a>
@@ -226,7 +217,7 @@ <h2 id="css">Cascading Style Sheets Definition</h2>
226217
<h3 id="partial">Partial Implementations</h3>
227218

228219
<p>So that authors can exploit the forward-compatible parsing rules to
229-
assign fallback values, CSS layout implementations <strong>must</strong>
220+
assign fallback values, CSS renderers <strong>must</strong>
230221
treat as invalid (and <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignore
231222
as appropriate</a>) any at-rules, properties, property values, keywords,
232223
and other syntactic constructs for which they have no usable level of

css3-background/default.css

+25-9
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,22 @@
3333

3434
body {counter-reset: exampleno figure}
3535

36-
h2, h3, h5, h6 { margin-top: 2em }
36+
/* Pagination */
3737
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
3838
div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
3939
div.example { page-break-inside: avoid }
4040
dt { page-break-after: avoid }
4141

4242
span.id {float: right; font-weight: bold}
4343

44+
/* General Structural Markup */
45+
h2, h3, h5, h6 {
46+
margin-top: 2em;
47+
}
48+
h1 + h2 {
49+
margin-top: 0;
50+
}
51+
4452
p, p.testlink + p, p.mtb {
4553
text-indent: 0;
4654
margin-bottom: 0;
@@ -54,10 +62,6 @@ dd > p:first-child, li > p:first-child {
5462
margin-top: 0
5563
}
5664

57-
h1 + h2 {
58-
margin-top: 0;
59-
}
60-
6165
pre {
6266
text-align: left; /* fixes justification in Mac IE 5 */
6367
text-indent: 0; /* fixes indent in Mac Netscape 6 */
@@ -106,6 +110,8 @@ ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
106110
ul.indexlist li { margin-left: 0; list-style: none }
107111
ul.indexlist li li { margin-left: 1em }
108112

113+
/* Examples */
114+
109115
.example {
110116
counter-increment: exampleno;
111117
}
@@ -151,6 +157,7 @@ pre.illegal-html, pre.xml, pre.illegal-xml {
151157
margin: 1em 0;
152158
border: thin solid #999;
153159
position: relative;
160+
clear: both;
154161
}
155162
pre.example, pre.illegal-example, pre.html,
156163
pre.illegal-html, pre.xml, pre.illegal-xml {
@@ -184,18 +191,27 @@ code.html { color: #600 } /* inline HTML */
184191
code.xml { color: #600 } /* inline XML */
185192
.property { font: inherit; } /* name of a CSS property (SPAN) */
186193
.descriptor { } /* name of a CSS descriptor (SPAN) */
187-
.issue { color: #c00 } /* editorial remark, open issue */
188194
.type { font-style: italic } /* A <type> value for a property */
189195

190196
dfn { font-weight: bolder; /*font-size: 1em*/ }
191197

198+
/* Open issue / editorial remark; not intended for a final publication */
199+
200+
.issue { color: #c00 }
201+
.issue:before {
202+
content: "Issue:";
203+
border: 3px double #c00;
204+
background: #c00;
205+
background-clip: padding-box;
206+
color: white;
207+
margin: 0.25em;
208+
padding: 0 0.25em;
209+
}
210+
192211
/* Class note is a non-normative note. May be inline or a P or DIV */
193212
.note {
194213
color: green
195214
}
196-
p.note, div.note {
197-
/* margin: 1em 2em; */
198-
}
199215
p.note:before, span.note:before { content: "\25B6" " " }
200216
div.note > p:first-child:before { content: "\25B6" " " }
201217

css3-text/default.css

+28-11
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,22 @@
3333

3434
body {counter-reset: exampleno figure}
3535

36-
h2, h3, h5, h6 { margin-top: 2em }
36+
/* Pagination */
3737
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
3838
div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
3939
div.example { page-break-inside: avoid }
4040
dt { page-break-after: avoid }
4141

4242
span.id {float: right; font-weight: bold}
4343

44+
/* General Structural Markup */
45+
h2, h3, h5, h6 {
46+
margin-top: 2em;
47+
}
48+
h1 + h2 {
49+
margin-top: 0;
50+
}
51+
4452
p, p.testlink + p, p.mtb {
4553
text-indent: 0;
4654
margin-bottom: 0;
@@ -54,10 +62,6 @@ dd > p:first-child, li > p:first-child {
5462
margin-top: 0
5563
}
5664

57-
h1 + h2 {
58-
margin-top: 0;
59-
}
60-
6165
pre {
6266
text-align: left; /* fixes justification in Mac IE 5 */
6367
text-indent: 0; /* fixes indent in Mac Netscape 6 */
@@ -106,6 +110,8 @@ ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
106110
ul.indexlist li { margin-left: 0; list-style: none }
107111
ul.indexlist li li { margin-left: 1em }
108112

113+
/* Examples */
114+
109115
.example {
110116
counter-increment: exampleno;
111117
}
@@ -143,13 +149,15 @@ pre.example:before {
143149
border: thin solid #999;
144150
/*margin: -1.3em 0 0.3em -2.5em;*/
145151
}
146-
.example, .illegal-example, .html, .illegal-html, .xml,
147-
.illegal-xml {
152+
div.example, div.illegal-example, div.html, div.illegal-html, div.xml,
153+
div.illegal-xml, pre.example, pre.illegal-example, pre.html,
154+
pre.illegal-html, pre.xml, pre.illegal-xml {
148155
background: #FFF8DD;
149156
padding: 0.5em;
150157
margin: 1em 0;
151158
border: thin solid #999;
152159
position: relative;
160+
clear: both;
153161
}
154162
pre.example, pre.illegal-example, pre.html,
155163
pre.illegal-html, pre.xml, pre.illegal-xml {
@@ -183,18 +191,27 @@ code.html { color: #600 } /* inline HTML */
183191
code.xml { color: #600 } /* inline XML */
184192
.property { font: inherit; } /* name of a CSS property (SPAN) */
185193
.descriptor { } /* name of a CSS descriptor (SPAN) */
186-
.issue { color: #c00 } /* editorial remark, open issue */
187194
.type { font-style: italic } /* A <type> value for a property */
188195

189196
dfn { font-weight: bolder; /*font-size: 1em*/ }
190197

198+
/* Open issue / editorial remark; not intended for a final publication */
199+
200+
.issue { color: #c00 }
201+
.issue:before {
202+
content: "Issue:";
203+
border: 3px double #c00;
204+
background: #c00;
205+
background-clip: padding-box;
206+
color: white;
207+
margin: 0.25em;
208+
padding: 0 0.25em;
209+
}
210+
191211
/* Class note is a non-normative note. May be inline or a P or DIV */
192212
.note {
193213
color: green
194214
}
195-
p.note, div.note {
196-
/* margin: 1em 2em; */
197-
}
198215
p.note:before, span.note:before { content: "\25B6" " " }
199216
div.note > p:first-child:before { content: "\25B6" " " }
200217

css3-writing-modes/default.css

+24-6
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,22 @@
3333

3434
body {counter-reset: exampleno figure}
3535

36-
h2, h3, h5, h6 { margin-top: 2em }
36+
/* Pagination */
3737
h1, h2, h3, h4, h5, h6 { page-break-after: avoid; font-family: inherit }
3838
div.figure, div.sidefigure, pre, table.propdef, table.propdef-extra,
3939
div.example { page-break-inside: avoid }
4040
dt { page-break-after: avoid }
4141

4242
span.id {float: right; font-weight: bold}
4343

44+
/* General Structural Markup */
45+
h2, h3, h5, h6 {
46+
margin-top: 2em;
47+
}
48+
h1 + h2 {
49+
margin-top: 0;
50+
}
51+
4452
p, p.testlink + p, p.mtb {
4553
text-indent: 0;
4654
margin-bottom: 0;
@@ -54,10 +62,6 @@ dd > p:first-child, li > p:first-child {
5462
margin-top: 0
5563
}
5664

57-
h1 + h2 {
58-
margin-top: 0;
59-
}
60-
6165
pre {
6266
text-align: left; /* fixes justification in Mac IE 5 */
6367
text-indent: 0; /* fixes indent in Mac Netscape 6 */
@@ -106,6 +110,8 @@ ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
106110
ul.indexlist li { margin-left: 0; list-style: none }
107111
ul.indexlist li li { margin-left: 1em }
108112

113+
/* Examples */
114+
109115
.example {
110116
counter-increment: exampleno;
111117
}
@@ -185,11 +191,23 @@ code.html { color: #600 } /* inline HTML */
185191
code.xml { color: #600 } /* inline XML */
186192
.property { font: inherit; } /* name of a CSS property (SPAN) */
187193
.descriptor { } /* name of a CSS descriptor (SPAN) */
188-
.issue { color: #c00 } /* editorial remark, open issue */
189194
.type { font-style: italic } /* A <type> value for a property */
190195

191196
dfn { font-weight: bolder; /*font-size: 1em*/ }
192197

198+
/* Open issue / editorial remark; not intended for a final publication */
199+
200+
.issue { color: #c00 }
201+
.issue:before {
202+
content: "Issue:";
203+
border: 3px double #c00;
204+
background: #c00;
205+
background-clip: padding-box;
206+
color: white;
207+
margin: 0.25em;
208+
padding: 0 0.25em;
209+
}
210+
193211
/* Class note is a non-normative note. May be inline or a P or DIV */
194212
.note {
195213
color: green

default.css

+13-1
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,23 @@ code.html { color: #600 } /* inline HTML */
191191
code.xml { color: #600 } /* inline XML */
192192
.property { font: inherit; } /* name of a CSS property (SPAN) */
193193
.descriptor { } /* name of a CSS descriptor (SPAN) */
194-
.issue { color: #c00 } /* editorial remark, open issue */
195194
.type { font-style: italic } /* A <type> value for a property */
196195

197196
dfn { font-weight: bolder; /*font-size: 1em*/ }
198197

198+
/* Open issue / editorial remark; not intended for a final publication */
199+
200+
.issue { color: #c00 }
201+
.issue:before {
202+
content: "Issue:";
203+
border: 3px double #c00;
204+
background: #c00;
205+
background-clip: padding-box;
206+
color: white;
207+
margin: 0.25em;
208+
padding: 0 0.25em;
209+
}
210+
199211
/* Class note is a non-normative note. May be inline or a P or DIV */
200212
.note {
201213
color: green

0 commit comments

Comments
 (0)