Skip to content

Commit 52f41d4

Browse files
committed
*** empty log message ***
1 parent dc4b54c commit 52f41d4

1 file changed

Lines changed: 42 additions & 41 deletions

File tree

css3-values/Overview.html

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525

2626
<h1 id=css3-template>CSS3 Values and Units</h1>
2727

28-
<h2 class="no-num no-toc" id=w3c-working>W3C Working Draft 17 January 2009</h2>
28+
<h2 class="no-num no-toc" id=w3c-working>W3C Working Draft 19 January 2009</h2>
2929

3030
<dl>
3131
<dt>This version:
3232

3333
<dd><a
34-
href="http://www.w3.org/TR/2009/ED-css3-values-20090117">http://www.w3.org/TR/2009/ED-css3-values-20090117</a>
34+
href="http://www.w3.org/TR/2009/ED-css3-values-20090119">http://www.w3.org/TR/2009/ED-css3-values-20090119</a>
3535

3636
<dt>Latest version:
3737

@@ -1114,8 +1114,8 @@ <h4 id=uris><span class=secno>3.5.2 </span>The &lsquo;<code
11141114

11151115
<p>For historical reasons, the name of the URI function is "url". The URI
11161116
function takes one URI as the argument. The URI may be quoted with single
1117-
quote (&lsquo;<code class=css>) or double quote (") characters. If quoted,
1118-
the two quote characters must be the same. </code>
1117+
quote (&apos;) or double quote (&quot;) characters. If quoted, the two
1118+
quote characters must be the same.
11191119

11201120
<div class=example>
11211121
<p style=display:none>Example(s):</p>
@@ -1135,26 +1135,25 @@ <h4 id=uris><span class=secno>3.5.2 </span>The &lsquo;<code
11351135
</pre>
11361136
</div>
11371137

1138-
<p>Parentheses, commas, whitespace characters, single quotes (&rsquo;) and
1139-
double quotes ("<!--"-->) appearing in a URI must be escaped with a
1140-
backslash: &lsquo;<code class=css>\(</code>&rsquo;, &lsquo;<code
1141-
class=css>\)</code>&rsquo;, &lsquo;<code class=css>\,</code>&rsquo;.
1138+
<p>Parentheses, commas, whitespace characters, single quotes (&lsquo;<code
1139+
class=css>) and double quotes ("<!--"-->) appearing in a URI must be
1140+
escaped with a backslash: </code>&rsquo;\(&lsquo;<code class=css>,
1141+
</code>&rsquo;\)&lsquo;<code class=css>, </code>&rsquo;\,&lsquo;<code
1142+
class=css>.</code>
11421143

11431144
<p>Depending on the type of URI, it might also be possible to write the
11441145
above characters as URI-escapes (where "(" = %28, ")" = %29, etc.) as
11451146
described in [!URI].
11461147

11471148
<p>In order to create modular style sheets that are not dependent on the
1148-
absolute location of a resource, authors may use relative URIs. Relative
1149-
URIs (as defined in <a href="#RFC1808"
1149+
absolute location of a resource, authors should use relative URIs.
1150+
Relative URIs (as defined in <a href="#RFC1808"
11501151
rel=biblioentry>[RFC1808]<!--{{RFC1808}}--></a>) are resolved to full URIs
11511152
using a base URI. RFC&nbsp;1808, section&nbsp;3, defines the normative
11521153
algorithm for this process. For CSS style sheets, the base URI is that of
11531154
the style sheet, not that of the source document.
11541155

11551156
<div class=example>
1156-
<p style=display:none>Example(s):</p>
1157-
11581157
<p>For example, suppose the following rule:</p>
11591158

11601159
<pre>
@@ -1167,7 +1166,7 @@ <h4 id=uris><span class=secno>3.5.2 </span>The &lsquo;<code
11671166
http://www.example.org/style/basic.css
11681167
</pre>
11691168

1170-
<p>The background of the source document's BODY will be tiled with
1169+
<p>The background of the source document&rsquo;s BODY will be tiled with
11711170
whatever image is described by the resource designated by the URI</p>
11721171

11731172
<pre>
@@ -1317,9 +1316,24 @@ <h4 id=font-families><span class=secno>3.6.1 </span>Font families</h4>
13171316
class=property>cursive</code>&rsquo;,&lsquo;<code
13181317
class=property>fantasy</code>&rsquo;, and &lsquo;<code
13191318
class=property>monospace</code>&rsquo;. Font family names are like
1320-
strings, except that the quotes around them may be dropped <span
1321-
class=issue>but not always</span>. Generic font family names are keywords
1322-
and must not be quoted.
1319+
strings, except that the quotes around them may be omitted. If quoting is
1320+
omitted, any white space characters before and after the font name are
1321+
ignored and any sequence of white space characters inside the font name is
1322+
converted to a single space. Font family names that happen to be the same
1323+
as a keyword value (e.g. &lsquo;<code
1324+
class=property>initial</code>&rsquo;, &lsquo;<code
1325+
class=property>inherit</code>&rsquo;, &lsquo;<code
1326+
class=property>default</code>&rsquo;, &lsquo;<code
1327+
class=property>serif</code>&rsquo;, &lsquo;<code
1328+
class=property>sans-serif</code>&rsquo;, &lsquo;<code
1329+
class=property>monospace</code>&rsquo;, &lsquo;<code
1330+
class=property>fantasy</code>&rsquo;, and &lsquo;<code
1331+
class=property>cursive</code>&rsquo;) must be quoted to prevent confusion
1332+
with the keywords with the same names. UAs must not consider these
1333+
keywords as matching the &lsquo;<code
1334+
class=css>&lt;family-name&gt;</code>&rsquo; type.
1335+
1336+
<p>Generic font family names are keywords and must not be quoted.
13231337

13241338
<div class=example>
13251339
<pre>body { font-family: "Helvetica", "Univers", "Arial", sans-serif }</pre>
@@ -1328,17 +1342,21 @@ <h4 id=font-families><span class=secno>3.6.1 </span>Font families</h4>
13281342
<h4 id=colors><span class=secno>3.6.2 </span>Colors</h4>
13291343

13301344
<p>A <dfn id=color>color</dfn> value can either be a keyword, a numerical
1331-
RGB specification in a functional notation, or a numerical RGB
1332-
specification in a hexadecimal notation. The hexadecimal notation is
1333-
special shorthand format that allows compact color descriptions.
1345+
specification in a functional notation, or a numerical RGB specification
1346+
in a hexadecimal notation. The hexadecimal notation is special shorthand
1347+
format that allows compact color descriptions.
13341348

13351349
<div class=example>
1336-
<p style=display:none>Example(s):</p>
1337-
1338-
<pre>em { color: #F00 }</pre>
1350+
<pre>
1351+
em { color: #F00 }
1352+
span.issue { color: red }
1353+
* { color: hsl(120, 75%, 75%) }
1354+
</pre>
13391355
</div>
13401356

1341-
<p>The CSS3 Color module defines the syntax of the hexadecimal notation.
1357+
<p>The CSS3 Color module <a href="#CSS3COLOR"
1358+
rel=biblioentry>[CSS3COLOR]<!--{{!CSS3COLOR}}--></a> defines the syntax of
1359+
the hexadecimal notation.
13421360

13431361
<h2 id=specified-computed-used-and-actual-value><span class=secno>4
13441362
</span>Specified, computed, used, and actual values</h2>
@@ -1352,24 +1370,7 @@ <h2 id=specified-computed-used-and-actual-value><span class=secno>4
13521370
formatting the document, therby yielding the <em><a
13531371
href="#computed-value">computed value</a></em>. Finally, the computed
13541372
value is transformed to the <em><a href="#actual-value">actual
1355-
value</a></em> in the layout process.</p>
1356-
<!--
1357-
<h3><dfn>Cascaded values</dfn></h3>
1358-
1359-
<p>If there are several competing declarations for a given
1360-
element/property combination, the cascading process will select a
1361-
<cite>winning declaration</cite> which contains the cascaded value. See the
1362-
Cascading and Inheritance module [!CSS3CASCADE] for more information.
1363-
1364-
<P>Often, the cascaded value will be equal to the specified, computed
1365-
and actual values. This is the case in example (a) in the table below.
1366-
1367-
<p>If a cascaded value is set on a shorthand property, it is considered to
1368-
be set on all individual properties. See example (b) in the table below.</p>
1369-
1370-
<p>When there is no winning declaration, there is no cascaded value. See
1371-
example (c) in the table below.</p>
1372-
-->
1373+
value</a></em> in the layout process.
13731374

13741375
<h3 id=finding-the-specified-value><span class=secno>4.1 </span>Finding the
13751376
<dfn id=specified-value>specified value</dfn></h3>

0 commit comments

Comments
 (0)