Skip to content

Commit f43a0b5

Browse files
committed
Add 2010 Snapshot
1 parent f74e34e commit f43a0b5

2 files changed

Lines changed: 627 additions & 0 deletions

File tree

css-2010/Overview.html

Lines changed: 370 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,370 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2+
"http://www.w3.org/TR/html4/strict.dtd">
3+
4+
<html lang=en>
5+
<head>
6+
<title>Cascading Style Sheets (CSS) Snapshot 2010</title>
7+
<!-- <link rel="stylesheet" type="text/css" href="default.css"> -->
8+
<link href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" rel=stylesheet
9+
type="text/css">
10+
11+
<body>
12+
<div class=head> <!--begin-logo-->
13+
<p><a href="http://www.w3.org/"><img alt=W3C height=48
14+
src="http://www.w3.org/Icons/w3c_home" width=72></a> <!--end-logo-->
15+
16+
<h1>Cascading Style Sheets (CSS) Snapshot 2010</h1>
17+
18+
<h2 class="no-num no-toc" id=w3c-working-draft-date>W3C Working Draft 3
19+
September 2010</h2>
20+
21+
<dl>
22+
<dt>This version:
23+
24+
<dd><a
25+
href="http://www.w3.org/TR/2010/WD-css-beijing-20100903/">http://www.w3.org/TR/2010/WD-css-beijing-20100903</a>
26+
27+
<dt>Latest version:
28+
29+
<dt>Previous versions:
30+
31+
<dd><a
32+
href="http://www.w3.org/TR/css-beijing/">http://www.w3.org/TR/css-beijing/</a>
33+
34+
<dt>Editor:
35+
36+
<dd><a href="http://fantasai.inkedblade.net/contact">Elika J. Etemad</a>
37+
</dl>
38+
<!--begin-copyright-->
39+
<p class=copyright><a
40+
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
41+
rel=license>Copyright</a> &copy; 2010 <a
42+
href="http://www.w3.org/"><acronym title="World Wide Web
43+
Consortium">W3C</acronym></a><sup>&reg;</sup> (<a
44+
href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute
45+
of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym
46+
title="European Research Consortium for Informatics and
47+
Mathematics">ERCIM</acronym></a>, <a
48+
href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a
49+
href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
50+
<a
51+
href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>
52+
and <a
53+
href="http://www.w3.org/Consortium/Legal/copyright-documents">document
54+
use</a> rules apply.</p>
55+
<!--end-copyright-->
56+
<hr title="Separator for header">
57+
</div>
58+
59+
<h2 class="no-num no-toc" id=abstract>Abstract</h2>
60+
61+
<p>This document collects together into one definition all the specs that
62+
together form the current state of Cascading Style Sheets (CSS) as of
63+
2010. The primary audience is CSS implementors, not CSS authors, as this
64+
definition includes modules by specification stability, not Web browser
65+
adoption rate.
66+
67+
<h2 class="no-num no-toc" id=status>Status of this document</h2>
68+
<!--begin-status-->
69+
70+
<p><em>This section describes the status of this document at the time of
71+
its publication. Other documents may supersede this document. A list of
72+
current W3C publications and the latest revision of this technical report
73+
can be found in the <a href="http://www.w3.org/TR/">W3C technical reports
74+
index at http://www.w3.org/TR/.</a></em>
75+
76+
<p>Publication as a Working Draft does not imply endorsement by the W3C
77+
Membership. This is a draft document and may be updated, replaced or
78+
obsoleted by other documents at any time. It is inappropriate to cite this
79+
document as other than work in progress.
80+
81+
<p>The (<a
82+
href="http://lists.w3.org/Archives/Public/www-style/">archived</a>) public
83+
mailing list <a href="mailto:www-style@w3.org">www-style@w3.org</a> (see
84+
<a href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
85+
for discussion of this specification. When sending e-mail, please put the
86+
text &#8220;css-beijing&#8221; in the subject, preferably like this:
87+
&#8220;[<!---->css-beijing<!---->] <em>&hellip;summary of
88+
comment&hellip;</em>&#8221;
89+
90+
<p>This document was produced by the <a
91+
href="http://www.w3.org/Style/CSS/members">CSS Working Group</a> (part of
92+
the <a href="http://www.w3.org/Style/">Style Activity</a>).
93+
94+
<p>This document was produced by a group operating under the <a
95+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
96+
2004 W3C Patent Policy</a>. W3C maintains a <a
97+
href="http://www.w3.org/2004/01/pp-impl/32061/status"
98+
rel=disclosure>public list of any patent disclosures</a> made in
99+
connection with the deliverables of the group; that page also includes
100+
instructions for disclosing a patent. An individual who has actual
101+
knowledge of a patent which the individual believes contains <a
102+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
103+
Claim(s)</a> must disclose the information in accordance with <a
104+
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
105+
6 of the W3C Patent Policy</a>.</p>
106+
<!--end-status-->
107+
<!--
108+
<p>This specification is a <strong>Last Call Working Draft</strong>. All
109+
persons are encouraged to review this document and <strong>send comments
110+
to the <a href="http://lists.w3.org/Archives/Public/www-style/">www-style</a>
111+
mailing list</strong> as described above. The <strong>deadline for
112+
comments</strong> is <strong>????</strong>.
113+
-->
114+
115+
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
116+
<!--begin-toc-->
117+
118+
<ul class=toc>
119+
<li><a href="#intro"><span class=secno>1. </span>Introduction</a>
120+
<ul class=toc>
121+
<li><a href="#w3c-process"><span class=secno>1.1. </span>The W3C Process
122+
and CSS</a>
123+
</ul>
124+
125+
<li><a href="#css-levels"><span class=secno>2. </span>CSS Levels</a>
126+
<ul class=toc>
127+
<li><a href="#css1"><span class=secno>2.1. </span>CSS Level 1</a>
128+
129+
<li><a href="#css2"><span class=secno>2.2. </span>CSS Level 2</a>
130+
131+
<li><a href="#css3"><span class=secno>2.3. </span>CSS Level 3</a>
132+
</ul>
133+
134+
<li><a href="#css"><span class=secno>3. </span>Cascading Style Sheets
135+
Definition</a>
136+
<ul class=toc>
137+
<li><a href="#partial"><span class=secno>3.1. </span>Partial
138+
Implementations</a>
139+
140+
<li><a href="#profiles"><span class=secno>3.2. </span>CSS Profiles</a>
141+
142+
<li><a href="#experimental"><span class=secno>3.3. </span>Experimental
143+
Implementations</a>
144+
</ul>
145+
</ul>
146+
<!--end-toc-->
147+
148+
<h2 id=intro><span class=secno>1. </span>Introduction</h2>
149+
150+
<p>When the first CSS specification was published, all of CSS was contained
151+
in one document that defined CSS Level 1. CSS Level 2 was defined also by
152+
a single, multi-chapter document. However for CSS beyond Level 2, the CSS
153+
Working Group chose to adopt a modular approach, where each module defines
154+
a part of CSS, rather than to define a single monolithic specification.
155+
This breaks the specification into more manageable chunks and allows more
156+
immediate, incremental improvement to CSS.
157+
158+
<p>Since different CSS modules are at different levels of stability, the
159+
CSS Working Group has chosen to publish this profile to define the current
160+
scope and state of Cascading Style Sheets as of late 2010. This profile
161+
includes only specifications that we consider stable <em>and</em> for
162+
which we have enough implementation experience that we are sure of that
163+
stability.
164+
165+
<p>Note that this is not intended to be a CSS Desktop Browser Profile:
166+
inclusion in this profile is based on feature stability only and not on
167+
expected use or Web browser adoption. This profile defines CSS in its most
168+
complete form.
169+
170+
<p>Note also that although we don't anticipate significant changes to the
171+
specifications that form this snapshot, their inclusion does are not mean
172+
they are frozen. The Working Group will continue to address problems as
173+
they are found in these specs. Implementers should monitor <a
174+
href="http://lists.w3.org/Archives/Public/www-style/">www-style</a> and/or
175+
the <a href="http://www.w3.org/blog/CSS">CSS Working Group Blog</a> for
176+
any resulting changes, corrections, or clarifications.
177+
178+
<h3 id=w3c-process><span class=secno>1.1. </span>The W3C Process and CSS</h3>
179+
180+
<p><em>This section is non-normative.</em>
181+
182+
<p>In the <a href="http://www.w3.org/2005/10/Process-20051014/">W3C
183+
Process</a>, a Recommendation-track document passes through five levels of
184+
stability, summarized below:
185+
186+
<dl style="list-style-type: decimal">
187+
<dt>Working Draft (WD)
188+
189+
<dd>Published during the process of drafting the specification, the
190+
purpose of a public Working Draft is to create a snapshot of the
191+
specification's current state and to solicit input from the W3C and the
192+
public. The document is known to be unstable, and is often incomplete.
193+
194+
<dt>Last Call Working Draft (LC or LCWD)
195+
196+
<dd>By publishing a Last Call Working Draft, a working group is expressing
197+
that they consider the spec to be complete and all issues to be resolved.
198+
Publishing a Last Call Working Draft announces that this specification
199+
will move toward Candidate Recommendation unless significant issues are
200+
brought up. The Last Call period is a last chance for others to submit
201+
issues before the transition to CR.
202+
203+
<dt>Candidate Recommendation (CR)
204+
205+
<dd>By publishing a Candidate Recommendation, a working group is
206+
expressing that have resolved all known issues and they believe the spec
207+
is ready for implementation.
208+
209+
<dt>Proposed Recommendation (PR)
210+
211+
<dd>To exit CR and enter this stage, the spec needs a comprehensive test
212+
suite and implementation reports proving that every feature in the spec
213+
is interoperably implemented in at least two shipping implementations.
214+
Entering the Proposed Recommendation stage signals to the W3C that these
215+
requirements have been met. Once the W3C officially approves the
216+
specification, it becomes a Recommendation.
217+
218+
<dt>Recommendation (REC)
219+
220+
<dd>This is the final stage. At this point there should need to be no more
221+
changes.
222+
</dl>
223+
224+
<p>In the CSSWG's experience, the recommendation track is not linear. The
225+
wider review triggered by an LCWD often results in at least another
226+
working draft, possibly several. More significantly, our experience is
227+
that many specs enter CR twice, because implementation testing often
228+
uncovers significant problems in the spec and thus pushes it back to
229+
working draft. Additionally, fixing even minor problems forces a CR to
230+
re-enter the Working Draft stage. As a result, although the CSSWG has a
231+
clear idea of the stability of the CSS specs, it is very difficult for
232+
someone outside the working group to come to that same understanding based
233+
on a specification's official status. The CSS Working Group's motivation
234+
for creating this document is thus to communicate to others our
235+
understanding of the state of CSS.
236+
237+
<h2 id=css-levels><span class=secno>2. </span>CSS Levels</h2>
238+
239+
<p>Cascading Style Sheets does not have versions in the traditional sense;
240+
instead it has <dfn id=levels>levels</dfn>. Each level of CSS builds on
241+
the previous, refining definitions and adding features. The feature set of
242+
each higher level is a superset of any lower level, and the behavior
243+
allowed for a given feature in a higher level is a subset of that allowed
244+
in the lower levels. A user agent conforming to a higher level of CSS is
245+
thus also conformant to all lower levels.
246+
247+
<h3 id=css1><span class=secno>2.1. </span>CSS Level 1</h3>
248+
249+
<p>The CSS Working Group considers the <a
250+
href="http://www.w3.org/TR/2008/REC-CSS1-20080411/">CSS1 specification</a>
251+
to be obsolete. <dfn id=css-level-1>CSS Level 1</dfn> is defined as all
252+
the features defined in the CSS1 specification (properties, values,
253+
at-rules, etc), but using the syntax and definitions in the <a
254+
href="http://www.w3.org/TR/CSS21/">CSS2.1 specification</a>. <a
255+
href="http://www.w3.org/TR/css-style-attr/">CSS Styling Attributes Level
256+
1</a> defines its inclusion in element-specific style attributes.
257+
258+
<h3 id=css2><span class=secno>2.2. </span>CSS Level 2</h3>
259+
260+
<p>Although the <a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/">CSS2
261+
specification</a> is technically a W3C Recommendation, it passed into the
262+
Recommendation stage before the W3C had defined the Candidate
263+
Recommendation stage. Over time implementation experience and further
264+
review has brought to light many problems in the CSS2 specification, so
265+
instead of expanding an already <a
266+
href="http://www.w3.org/Style/css2-updates/REC-CSS2-19980512-errata.html">unwieldy
267+
errata list</a>, the CSS Working Group chose to define <cite>CSS Level 2
268+
Revision 1</cite> (CSS2.1).
269+
270+
<p>CSS2.1 is now a Candidate Recommendation&#8212;effectively though not
271+
officially the same level of stability as CSS2&#8212;and should be
272+
considered to obsolete the CSS2 Recommendation. In case of any conflict
273+
between the two specs CSS2.1 contains the definitive definition. Features
274+
in CSS2 that were dropped from CSS2.1 should be considered to be at the
275+
Candidate Recommendation stage, but note that many of these have been or
276+
will be pulled into a CSS Level 3 working draft, in which case that
277+
specification will, once it reaches CR, obsolete the definitions in CSS2.
278+
279+
<p>The <a href="http://www.w3.org/TR/CSS21/">CSS2.1 specification</a>
280+
defines <dfn id=css-level-2>CSS Level 2</dfn> and the <a
281+
href="http://www.w3.org/TR/css-style-attr/">CSS Styling Attributes Level 1
282+
specification</a> defines its inclusion in element-specific style
283+
attributes.
284+
285+
<h3 id=css3><span class=secno>2.3. </span>CSS Level 3</h3>
286+
287+
<p><em>This section is non-normative.</em>
288+
289+
<p>CSS Level 3 builds on CSS Level 2 module by module, using the CSS2.1
290+
specification as its core. Each module adds functionality and/or replaces
291+
part of the CSS2.1 specification. The CSS Working Group intends that the
292+
new CSS modules will not contradict the CSS2.1 specification: only that
293+
they will add functionality and refine definitions. As each module is
294+
completed, it will be plugged in to the existing system of CSS2.1 plus
295+
previously-completed modules.
296+
297+
<p>From this level on modules are levelled independently: for example
298+
Selectors Level 4 may well be defined before CSS Line Module Level 3.
299+
300+
<h2 id=css><span class=secno>3. </span>Cascading Style Sheets Definition</h2>
301+
302+
<p>As of 2010, <dfn id=cascading-style-sheets-css>Cascading Style Sheets
303+
(CSS)</dfn> is defined by the following specifications. Each specification
304+
in this list builds on and possibly modifies the definitions in the
305+
previous specifications, with the base formed by <cite>CSS Level 2
306+
Revision 1</cite>. (In other words, CSS is defined as <cite>CSS Level 2
307+
Revision 1</cite>, modified by <cite>CSS Namespaces</cite>, modified by
308+
<cite>Selectors Level 3</cite>, etc.) A valid CSS document is one that
309+
conforms to this definition.
310+
311+
<ol>
312+
<li><a href="http://www.w3.org/TR/CSS21/">CSS Level 2 Revision 1</a>
313+
(including errata)
314+
315+
<li><a href="http://www.w3.org/TR/css3-mediaqueries/">Media Queries Level
316+
3</a>
317+
318+
<li><a href="http://www.w3.org/TR/css-style-attr/">CSS Styling Attributes
319+
Level 1</a>
320+
321+
<li><a href="http://www.w3.org/TR/css3-namespace/">CSS Namespaces</a>
322+
323+
<li><a href="http://www.w3.org/TR/css3-selectors/">Selectors Level 3</a>
324+
325+
<li><a href="http://www.w3.org/TR/css3-color/">CSS Color Level 3</a>
326+
</ol>
327+
328+
<h3 id=partial><span class=secno>3.1. </span>Partial Implementations</h3>
329+
330+
<p>So that authors can exploit the forward-compatible parsing rules to
331+
assign fallback values, CSS layout implementations <strong>must</strong>
332+
treat as invalid (and <a
333+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignore as
334+
appropriate</a>) any at-rules, properties, property values, keywords, and
335+
other syntactic constructs for which they have no usable level of support.
336+
In particular, user agents <strong>must not</strong> selectively ignore
337+
unsupported property values and honor supported values in a single
338+
multi-value property declaration: if any value is considered invalid (as
339+
unsupported values must be), CSS requires that the entire declaration be
340+
ignored.
341+
342+
<h3 id=profiles><span class=secno>3.2. </span>CSS Profiles</h3>
343+
344+
<p>Not all implementations will implement all functionality defined in CSS.
345+
For example, an implementation may choose to implement only the
346+
functionality required by a CSS Profile. Profiles define a subset of CSS
347+
considered fundamental for a specific class of CSS implementations. The
348+
W3C CSS Working Group defines the following CSS profiles:
349+
350+
<ul>
351+
<li><a href="http://www.w3.org/TR/css-mobile/">CSS Mobile Profile 2.0</a>
352+
353+
<li><a href="http://www.w3.org/TR/css-print/">CSS Print Profile 1.0</a>
354+
355+
<li><a href="http://www.w3.org/TR/css-tv">CSS TV Profile 1.0</a>
356+
</ul>
357+
358+
<h3 id=experimental><span class=secno>3.3. </span>Experimental
359+
Implementations</h3>
360+
361+
<p>To avoid clashes with future CSS features, the CSS2.1 specification
362+
reserves a <a
363+
href="http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords">prefixed
364+
syntax</a> for proprietary property and value extensions to CSS. The CSS
365+
Working Group recommends that experimental implementations of features in
366+
CSS Working Drafts also use vendor-prefixed property or value names. This
367+
avoids any incompatibilities with future changes in the draft. Once a
368+
specification reaches the Candidate Recommendation stage, implementors
369+
should implement the non-prefixed syntax for any feature they consider to
370+
be correctly implemented according to spec.

0 commit comments

Comments
 (0)