-
Notifications
You must be signed in to change notification settings - Fork 790
Expand file tree
/
Copy pathcover.src
More file actions
273 lines (244 loc) · 10.5 KB
/
cover.src
File metadata and controls
273 lines (244 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!doctype html public '-//W3C//DTD HTML 4.01//EN'
'http://www.w3.org/TR/html4/strict.dtd'>
<html lang="en">
<title>Cascading Style Sheets, level 2 revision 1</title>
<body>
<div class="head">
<p><a href="http://www.w3.org/"><img alt="W3C" height="48"
src="http://www.w3.org/Icons/w3c_home" width="72"></a>
<h1 id="title">Cascading Style Sheets, level 2 revision 1<br>
CSS 2.1 Specification</h1>
<h2 id="W3C-doctype">W3C _THE_STATUS_ _THE_DATE_</h2>
<dl>
<dt>This version:
<dd><a href="_THIS_VERSION_">
_THIS_VERSION_</a>
<dt>Latest version:
<dd><a href="_THE_LATEST_VERSION_">
_THE_LATEST_VERSION_</a>
<dt>Previous version:
<dd><a href="_THE_PREVIOUS_VERSION_">
_THE_PREVIOUS_VERSION_</a>
<dt>Editors:
<dd><a lang=nl href="http://www.w3.org/People/Bos/">
Bert Bos</a>
<bert @w3.org>
<dd><a lang=tr href="http://tantek.com/">
Tantek Çelik</a>
<tantekc @microsoft.com>
<dd><a lang=en href="http://ian.hixie.ch/">
Ian Hickson</a>
<ian @hixie.ch>
<dd><a lang=no href="http://people.opera.com/howcome/">
Håkon Wium Lie</a>
<howcome @opera.com>
</dl>
<!--<p>Please refer to the <a
href="_THE_UPDATE_DIR_/_THE_ID_-errata.html"><strong>
errata</strong></a> for this document, which may include some
normative corrections.-->
<p>This document is also available in these non-normative formats:
<a href="css2.txt">plain text</a>,
<a href="css2.tgz">gzip'ed tar file</a>,
<a href="css2.zip">zip file</a>,
<a href="css2.ps.gz">gzip'ed PostScript</a>,
<a href="css2.pdf">PDF</a>.
See also <a
href="_THE_UPDATE_DIR_/translations.html"><strong>
translations</strong></a>.
<p class="copyright"><a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">
Copyright</a> © 2004 <a href="http://www.w3.org/"><abbr
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute
of Technology">MIT</abbr></a>, <a
href="http://www.ercim.org/"><acronym title="European Research
Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a
href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
<a
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
<a
href="http://www.w3.org/Consortium/Legal/copyright-documents">document
use</a> and <a
href="http://www.w3.org/Consortium/Legal/copyright-software">software
licensing</a> rules apply.</p>
<hr title="Separator from Header">
</div>
<h2 id=abstract>Abstract</h2>
<p>This specification defines Cascading Style Sheets, level 2
revision 1 (CSS 2.1). CSS 2.1 is a style sheet language
that allows
authors and users to attach style (e.g., fonts and spacing) to
structured documents (e.g., HTML documents and XML
applications). By separating the presentation style of documents from
the content of documents, CSS 2.1 simplifies Web authoring and
site maintenance.
<P>CSS 2.1 builds on CSS2 [[CSS2]] which builds on CSS1 [[CSS1]].
It supports media-specific style sheets so that authors may tailor the
presentation of their documents to visual browsers, aural devices,
printers, braille devices, handheld devices, etc. It also supports
content positioning, table layout, features for internationalization
and some properties related to user interface.
<p>CSS 2.1 corrects a few errors in CSS2 (the most important
being a new definition of the height/width of absolutely positioned
elements, more influence for HTML's "style" attribute and a new
calculation of the 'clip' property), and adds a few highly requested
features which have already been widely implemented.
But most of all CSS 2.1
represents a "snapshot" of CSS usage: it consists of all CSS features
that are implemented interoperably at the date of publication of the Recommendation.
<p>CSS 2.1 is derived from and is intended to replace CSS2. Some
parts of CSS2 are unchanged in CSS 2.1, some parts have been
altered, and some parts removed. The removed portions may be used in a
future CSS3 specification. Implementations may refer to CSS2 for the
definitions of features that have been removed, but for other features
CSS 2.1 is the normative reference.
<h2 id=status>Status of this document</h2>
<p><em>This section describes the status of this document at the time
of its publication. Other documents may supersede it. A list of
current W3C publications and the latest revision of this technical
report can be found in the <a href="http://www.w3.org/TR/">W3C
technical reports index at http://www.w3.org/TR/</a>.</em>
<p>This is a W3C Candidate Recommendation, which means the
specification has been widely reviewed and W3C recommends that it be
implemented. It will remain Candidate Recommendation <a
href="#crec">at least until 1 September 2004.</a>
<p>Publication as a Candidate Recommendation does not imply
endorsement by the W3C Membership. It is inappropriate to cite this
document as other than work in progress.
<p>A test suite and a report on implementations will be provided
before the document becomes a Proposed Recommendation.
<p>The (<a
href="http://lists.w3.org/Archives/Public/www-style/">archived</a>)
public mailing list <a
href="mailto:www-style@w3.org">www-style@w3.org</a> (see <a
href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
for discussion of this and other specifications in the Style area.
When commenting on this document, please put the text "CSS21" in the
subject, preferably like this: "[CSS21] <summary of comment>"
<p>This document is produced by the <a
href="http://www.w3.org/Style/CSS/members">CSS working group</a> (part of
the <a href="http://www.w3.org/Style/">Style Activity</a>, see <a
href="http://www.w3.org/Style/Activity">summary</a>).
<p>Patent disclosures relevant to CSS may be found on the Working
Group's public <a
href="http://www.w3.org/Style/CSS/Disclosures">patent disclosure
page.</a></p>
<h3 class="no-num" id="crec">Candidate Recommendation Exit Criteria</h3>
<p>For this specification to exit the CR stage, the following
conditions must be met:</p>
<ol>
<li>
<p>There must be at least two interoperable implementations
for every feature. For the purposes of this criterion,
we define the following terms:</p>
<dl>
<dt>feature</dt>
<dd>
<p>
A section or subsection of the specification.
</p>
</dd>
<dt>interoperable</dt>
<dd>
<p>passing the respective test cases in the test suite, or,
if the implementation is not a web browser, equivalent tests.
Every relevant test in the test suite should have an equivalent
test created if such a UA is to be used to claim interoperability.
In addition if such a UA is to be used to claim interoperability,
then there must one or more additional UAs which can also pass
those equivalent tests in the same way for the purpose of
interoperability. The equivalent tests must be made publicly
available for the purposes of peer review.</p>
</dd>
<dt>implementation</dt>
<dd>
<p>a user agent which:</p>
<ol>
<li>implements the feature.</li>
<li>is available (i.e. publicly downloadable or available
through some other public point of sale mechanism). This is the
"show me" requirement.</li>
<li>is shipping (i.e. development, private or unofficial
versions are insufficient).</li>
<li>is not experimental (i.e. is intended for a wide audience
and could be used on a daily basis).</li>
</ol>
</dd>
</dl>
</li>
<li><p>A minimum of six months of the CR period must have elapsed.
This is to ensure that enough time is given for any remaining major
errors to be caught.</p></li>
<li><p>The CR period will be extended if implementations are slow to
appear.</p></li>
<li><p>Features that were not in CSS1 will be dropped (thus reducing the
list of "all" features mentioned above) if two or more
interoperable implementations of those features are not found by
the end of the CR period.</p></li>
<li><p>Features will also be dropped if sufficient and adequate
tests (by judgment of the working group) have not been produced for
those features by the end of the CR period.</p></li>
</ol>
<h3>Features at risk</h3>
<p>The working group has identified the following features as being
currently poorly implemented by UAs. They are therefore most at risk
of being removed from CSS 2.1 when exiting CR. (Any changes of this
nature will still result in the specification being returned to last
call.) Implementors are urged to implement these features, or correct
bugs in their implementations, if they wish to see thsse features remain
in this specification.</p>
<dl>
<dt>New 'list-style-type' values</dt>
<dd>
<ul>
<li>'armenian'</li>
<li>'georgian'</li>
<li>'lower-greek'</li>
</ul>
<p>Implementors should look at CSS3 Lists instead, where these and
many other new values not found in CSS1 are defined in detail.
[[CSS3LISTS]]</p>
<dt>Support for multiple ID attributes for the ID selector
<dd>
<p>Because implementations are not expected to support multiple IDs
per element soon, this feature may be made informative. The W3C
Selectors specification will continue to have this feature
normatively. (<a href="selector.html#id-selectors">Section
5.8.4.</a>)
</dd>
<dt>Automatic table layout algorithm
<dd>
<p>The input to the suggested (non-normative) automatic layout
algorithm for tables is restricted to (1) the containing block width
and (2) the content and properties of the table and its
children. This restriction may be lifted.
<dt>Quotes
<dd>
<p>The <span class="propinst-quotes">'quotes'</span> property and the
'open-quote', 'close-quote', 'no-open-quote' and 'no-close-quote'
keywords may be dropped.
</dl>
<!--NewPage--><!-- this is for html2ps -->
<div class="toc">
<h2><a name="minitoc">Quick Table of Contents</a></h2>
<!-- #include src="minicontents.srb" -->
</div>
<!--NewPage--><!-- this is for html2ps -->
<div class="toc">
<h2><a name="toc">Full Table of Contents</a></h2>
<!-- #include src="contents.srb" -->
</div>
</body>
</html>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-declaration:"~/SGML/HTML4.dcl"
sgml-default-doctype-name:"html"
sgml-minimize-attributes:t
sgml-nofill-elements:("pre" "style" "br")
sgml-live-element-indicator:t
End:
-->