44
55<title>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</title>
66<link rel="stylesheet" href="style/default.css" type="text/css">
7- <link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-CR .css" type="text/css">
7+ <link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-MO .css" type="text/css">
88<link rel="next" href="about.html">
99<link rel="contents" href="cover.html#minitoc">
1010<link rel="CSS-properties" href="propidx.html" title="properties">
2020 src="http://www.w3.org/Icons/w3c_home" width="72"></a>
2121
2222 <h1 id="title">Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</h1>
23- <h2 id="W3C-doctype">W3C Candidate Recommendation 23 April 2009 </h2>
23+ <h2 id="W3C-doctype">W3C Member-only Draft DD MMMMM YYYY </h2>
2424
2525 <dl>
2626 <dt>This version:
27- <dd><a href="http://www.w3.org/TR/2009/CR -CSS2-20090423 ">
28- http://www.w3.org/TR/2009/CR -CSS2-20090423 </a>
27+ <dd><a href="http://www.w3.org/TR/YYYY/MO -CSS2-YYYYMMDD ">
28+ http://www.w3.org/TR/YYYY/MO -CSS2-YYYYMMDD </a>
2929 <dt>Latest version:
3030 <dd><a href="http://www.w3.org/TR/CSS2">
3131 http://www.w3.org/TR/CSS2</a>
3232 <dt>Previous versions:
33- <dd><a href="http://www.w3.org/TR/2007 /CR-CSS21-20070719 ">
34- http://www.w3.org/TR/2007 /CR-CSS21-20070719 </a>
33+ <dd><a href="http://www.w3.org/TR/2009 /CR-CSS2-20090423 ">
34+ http://www.w3.org/TR/2009 /CR-CSS2-20090423 </a>
3535 <dd><a href="http://www.w3.org/TR/2008/REC-CSS2-20080411/">
3636 http://www.w3.org/TR/2008/REC-CSS2-20080411/</a>
3737 <dt>Editors:
@@ -50,7 +50,7 @@ <h2 id="W3C-doctype">W3C Candidate Recommendation 23 April 2009</h2>
5050 </dl>
5151
5252 <p>Please refer to the <a
53- href="http://www.w3.org/Style/css2-updates/CR -CSS2-20090423 -errata.html"><strong>
53+ href="http://www.w3.org/Style/css2-updates/MO -CSS2-YYYYMMDD -errata.html"><strong>
5454 errata</strong></a> for this document.
5555
5656 <p>This document is also available in these non-normative formats:
@@ -1611,6 +1611,7 @@ <H2>1.5 <a name="acknowledgements">Acknowledgments</a></H2>
16111611 <span class=vcard><span class="fn">Vadim Plessky</span></span>, and the
16121612 <span class=vcard><span class="fn org">Open eBook Publication Structure Working Group</span></span>
16131613 Editors. We would also like to thank
1614+ <span class=vcard><span class="fn">Gary Schnabl</span></span>,
16141615 <span class=vcard><span class="fn">Glenn Adams</span></span> and
16151616 <span class=vcard><span class="fn">Susan Lesch</span></span>
16161617 who helped proofread this document.</p>
@@ -1682,7 +1683,7 @@ <H2>2.1 <a name="html-tutorial">A brief CSS 2.1 tutorial for HTML</a></H2>
16821683influence only one of the properties needed for rendering an HTML
16831684document, it qualifies as a style sheet on its own. Combined with
16841685other style sheets (one fundamental feature of CSS is that style
1685- sheets are combined) it will determine the final presentation of the
1686+ sheets are combined), the rule will determine the final presentation of the
16861687document.
16871688
16881689<P> The HTML 4 specification defines how style sheet rules may be
@@ -1848,8 +1849,8 @@ <H2>2.2 <a name="xml-tutorial">A brief CSS 2.1 tutorial for XML</a></H2>
18481849<P>The first rule declares INSTRUMENT to be inline and the second
18491850rule, with its comma-separated list of selectors, declares all the
18501851other elements to be block-level. Element names in XML are
1851- case-sensitive, so a selector written in lowercase (e.g. 'instrument')
1852- is different from uppercase (e.g. 'INSTRUMENT').
1852+ case-sensitive, so a selector written in lowercase (e.g., 'instrument')
1853+ is different from uppercase (e.g., 'INSTRUMENT').
18531854
18541855<P>One way of linking a style sheet to an XML document is to use
18551856a processing instruction:
@@ -2182,7 +2183,7 @@ <H2>3.1 <a name="defs">Definitions</a></H2>
21822183<div class=note><p>Notes start with the word "Note," are indented and
21832184shown in green, like this paragraph.</p></div>
21842185
2185- <p>Figures are for illustration only, they are not reference
2186+ <p>Figures are for illustration only. They are not reference
21862187renderings, unless explicitly stated.
21872188
21882189<dl>
@@ -2235,7 +2236,7 @@ <H2>3.1 <a name="defs">Definitions</a></H2>
22352236<dt><strong><span class="index-def" title="document language"><a
22362237name="doclanguage">Document language</a></span></strong>
22372238
2238- <dd>The encoding language of the source document (e.g., HTML, XHTML or
2239+ <dd>The encoding language of the source document (e.g., HTML, XHTML, or
22392240SVG). CSS is used to describe the presentation of document languages
22402241and CSS does not change the underlying semantics of the document
22412242languages.
@@ -2260,7 +2261,7 @@ <H2>3.1 <a name="defs">Definitions</a></H2>
22602261and an intrinsic ratio. For example, a bitmap image has an intrinsic
22612262width and an intrinsic height specified in absolute units (from which
22622263the intrinsic ratio can obviously be determined). On the other hand,
2263- other documents may not have any intrinsic dimensions (for example a
2264+ other documents may not have any intrinsic dimensions (for example, a
22642265blank HTML document).
22652266
22662267<p>User agents may consider a replaced element to not have any
@@ -2306,14 +2307,14 @@ <H2>3.1 <a name="defs">Definitions</a></H2>
23062307specification. First, a CSS parser must follow certain rules when it
23072308discovers unknown or illegal syntax in a style sheet. The parser must
23082309then ignore certain parts of the style sheets. The exact rules for
2309- what parts must be ignored is given in these section: <a
2310- href="syndata.html#declaration">Declarations and properties</a>, <a
2310+ which parts must be ignored are described in these sections ( <a
2311+ href="syndata.html#declaration">Declarations and properties, </a> <a
23112312href="syndata.html#parsing-errors">Rules for handling parsing
2312- errors</a>, <a href="syndata.html#unsupported-values">Unsupported
2313- Values</a>, or may be explained in the text where the term "ignore"
2313+ errors, </a> <a href="syndata.html#unsupported-values">Unsupported
2314+ Values</a>) or may be explained in the text where the term "ignore"
23142315appears. Second, a user agent may (and, in some cases must) disregard
2315- certain properties or values in the style sheet even if the syntax is
2316- legal. For example, table-column elements can't affect the font of the
2316+ certain properties or values in the style sheet, even if the syntax is
2317+ legal. For example, table-column elements cannot affect the font of the
23172318column, so the font properties must be ignored.
23182319
23192320
@@ -2418,10 +2419,10 @@ <H2>3.1 <a name="defs">Definitions</a></H2>
24182419
24192420<dd>CSS defines a finite set of parameters, called properties, that
24202421direct the rendering of a document. Each property has a name (e.g.,
2421- 'color', 'font' or border') and a value (e.g., 'red', '12pt Times' or
2422+ 'color', 'font', or border') and a value (e.g., 'red', '12pt Times', or
24222423'dotted'). Properties are attached to various parts of the document
24232424and to the page on which the document is to be displayed by the
2424- mechanisms of specificity, cascading and inheritance (see the chapter
2425+ mechanisms of specificity, cascading, and inheritance (see the chapter
24252426on <a href="cascade.html">Assigning property values, Cascading, and
24262427Inheritance</a>).
24272428
@@ -2543,7 +2544,7 @@ <h2>3.2 <a name="conformance">UA Conformance</a></h2>
25432544<p>UAs must allow users to specify a file that contains the user style
25442545sheet. UAs that run on devices without any means of writing or
25452546specifying files are exempted from this requirement. Additionally, UAs
2546- may offer other means to specify user preferences, for example through
2547+ may offer other means to specify user preferences, for example, through
25472548a GUI.
25482549
25492550<p>CSS 2.1 does not define which properties apply to form controls and
@@ -2830,7 +2831,7 @@ <h3>4.1.3 <a name="characters">Characters and case</a></h3>
28302831<ul>
28312832 <li> All CSS syntax is <a name="x1"><span class="index-inst" title="case
28322833 sensitivity">case-insensitive</span></a> within the ASCII
2833- range (i.e. [a-z] and [A-Z] are equivalent), except for parts that are
2834+ range (i.e., [a-z] and [A-Z] are equivalent), except for parts that are
28342835 not under the control of CSS. For example, the case-sensitivity of
28352836 values of the HTML attributes "id" and "class", of font names, and
28362837 of URIs lies outside the scope of this specification. Note in
@@ -2864,7 +2865,7 @@ <h3>4.1.3 <a name="characters">Characters and case</a></h3>
28642865 </p>
28652866 <p>Second, it cancels the meaning of special CSS characters.
28662867 Except within CSS comments, any character (except a
2867- hexadecimal digit, linefeed, carriage return or form feed)
2868+ hexadecimal digit, linefeed, carriage return, or form feed)
28682869 can be escaped
28692870 with a backslash to remove its special meaning.
28702871 For example, <samp>"\""</samp> is a string consisting of one
0 commit comments