Skip to content

Commit 1244015

Browse files
committed
Fix processor issue with single quotes, update latest version URL and add Editor's draft link
1 parent 27dff5a commit 1244015

2 files changed

Lines changed: 44 additions & 38 deletions

File tree

css3-values/Overview.html

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,30 @@
2424

2525
<h1>CSS Values and Units Module Level 3</h1>
2626

27-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 6 September
27+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 September
2828
2011</h2>
2929

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

3333
<dd><a
34-
href="http://www.w3.org/TR/2011/ED-css3-values-20110906/">http://www.w3.org/TR/2011/ED-css3-values-20110906/</a>
34+
href="http://www.w3.org/TR/2011/ED-css3-values-20110909/">http://www.w3.org/TR/2011/ED-css3-values-20110909/</a>
3535

3636
<dt>Latest version:
3737

3838
<dd><a
39-
href="http://www.w3.org/TR/css3-values">http://www.w3.org/TR/css3-values</a>
39+
href="http://www.w3.org/TR/css3-values/">http://www.w3.org/TR/css3-values/</a>
40+
41+
<dt>Editor's draft:
42+
43+
<dd><a
44+
href="http://dev.w3.org/csswg/css3-values/">http://dev.w3.org/csswg/css3-values/</a>
45+
4046

4147
<dt>Previous version:
4248

4349
<dd><a
44-
href="http://www.w3.org/TR/2006/WD-css3-values-20060919">http://www.w3.org/TR/2006/WD-css3-values-20060919</a>
50+
href="http://www.w3.org/TR/2011/WD-css3-values-20110906/">http://www.w3.org/TR/2011/WD-css3-values-20110906/</a>
4551

4652
<dt>Editors:
4753

@@ -648,10 +654,10 @@ <h3 id=strings><span class=secno>3.3. </span> Quoted Strings: the &lsquo;<a
648654
("\&lsquo;<code class=css>" or "\27"). </code>
649655

650656
<pre>
651-
<!-- -->content: "this is a &rsquo;string'.";
657+
<!-- -->content: "this is a &apos;string&apos;.";
652658
<!-- -->content: "this is a \"string\".";
653-
<!-- -->content: &lsquo;<code class=css>this is a "string".</code>&rsquo;;
654-
<!-- -->content: &lsquo;<code class=css>this is a \</code>&rsquo;string\&lsquo;<code class=css>.</code>&rsquo;;</pre>
659+
<!-- -->content: &apos;this is a "string".&apos;;
660+
<!-- -->content: &apos;this is a \&apos;string\&apos;.&apos;;</pre>
655661
</div>
656662

657663
<p>It is possible to break strings over several lines, for aesthetic or
@@ -673,8 +679,9 @@ <h3 id=strings><span class=secno>3.3. </span> Quoted Strings: the &lsquo;<a
673679
character in Unicode (U+000A), but represents the generic notion of
674680
"newline" in CSS.)
675681

676-
<h3 id=urls><span class=secno>3.4. </span> Resource Locators: the &lsquo;<a
677-
href="#url-value"><code class=css>&lt;url&gt;</code></a>&rsquo; type</h3>
682+
<h3 id=urls><span class=secno>3.4. </span> Resource Locators: the
683+
&rsquo;&lsquo;<a href="#url-value"><code
684+
class=css>&lt;url&gt;</code></a>&rsquo;&lsquo;<code class=css> type</code></h3>
678685

679686
<p>A <dfn id=url>URL</dfn> is a pointer to a resource and is a <a
680687
href="http://www.w3.org/TR/CSS21/syndata.html#uri">specially-parsed</a> <a
@@ -698,23 +705,22 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the &lsquo;<a
698705
context), a URL can be represented as a <a
699706
href="#string-value"><code>&lt;string&gt;</code></a> rather than by <a
700707
href="#url-value"><code>&lt;URL&gt;</code></a>. An example of this is the
701-
<a href="http://www.w3.org/TR/CSS21/cascade.html#at-import">&lsquo;<code
702-
class=css>@import</code>&rsquo; rule</a>.
703-
704-
<p>Parentheses, whitespace characters, single quotes (&lsquo;<code
705-
class=css>) and double quotes (") appearing in a URL must be escaped with
706-
a backslash so that the resulting value is a valid <a
707-
href="#url"><code>URL</code></a> token, e.g.
708-
</code>&rsquo;url(open\(parens)&lsquo;<code class=css>,
709-
</code>&rsquo;url(close\)parens)&lsquo;<code class=css>. Depending on the
710-
type of URL, it might also be possible to write these characters as
711-
URI-escapes (where <code>(</code> = <code>%28</code>, <code>)</code> =
712-
<code>%29</code>, etc.) as described in <a href="#URI"
708+
<a
709+
href="http://www.w3.org/TR/CSS21/cascade.html#at-import">&rsquo;&lsquo;<code
710+
class=css>@import</code>&rsquo;&lsquo;<code class=css> rule</code></a>.
711+
712+
<p>Parentheses, whitespace characters, single quotes (&rsquo;) and double
713+
quotes (") appearing in a URL must be escaped with a backslash so that the
714+
resulting value is a valid <a href="#url"><code>URL</code></a> token, e.g.
715+
&lsquo;<code class=css>url(open\(parens)</code>&rsquo;, &lsquo;<code
716+
class=css>url(close\)parens)</code>&rsquo;. Depending on the type of URL,
717+
it might also be possible to write these characters as URI-escapes (where
718+
<code>(</code> = <code>%28</code>, <code>)</code> = <code>%29</code>,
719+
etc.) as described in <a href="#URI"
713720
rel=biblioentry>[URI]<!--{{URI}}--></a>. Alternatively a URL containing
714721
such characters may be represented as a quoted <a
715-
href="#strings">string</a> within the </code>&rsquo;&lsquo;<a
716-
href="#url"><code class=css>url()</code></a>&rsquo;&lsquo;<code class=css>
717-
notation. </code>
722+
href="#strings">string</a> within the &lsquo;<a href="#url"><code
723+
class=css>url()</code></a>&rsquo; notation.
718724

719725
<p>In order to create modular style sheets that are not dependent on the
720726
absolute location of a resource, authors should use relative URIs.
@@ -733,9 +739,9 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the &lsquo;<a
733739

734740
<pre>http://www.example.org/style/basic.css</pre>
735741

736-
<p>The background of the source document&rsquo;s <code>&lt;body&gt;</code>
737-
will be tiled with whatever image is described by the resource designated
738-
by the URL:
742+
<p>The background of the source document's <code>&lt;body&gt;</code> will
743+
be tiled with whatever image is described by the resource designated by
744+
the URL:
739745

740746
<pre>http://www.example.org/style/tile.png</pre>
741747

@@ -1300,9 +1306,9 @@ <h2 id=functional-notation><span class=secno>9. </span> Functional
13001306
name of the function immediately followed by a left parenthesis followed
13011307
by optional whitespace followed by the argument(s) to the notation
13021308
followed by optional whitespace followed by a right parenthesis. If a
1303-
function takes more than one argument, the arguments are separated by a
1304-
comma (&lsquo;<code class=css>,</code>&rsquo;) with optional whitespace
1305-
before and after the comma.
1309+
function takes a list of arguments, the arguments are separated by a comma
1310+
(&lsquo;<code class=css>,</code>&rsquo;) with optional whitespace before
1311+
and after the comma.
13061312

13071313
<pre class=example>
13081314
<!-- -->background: url(http://www.example.org/image);

css3-values/Overview.src.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
2727

2828
<dl>
2929
<dt>This version:</dt>
30-
3130
<dd><a href="[VERSION]">[VERSION]</a></dd>
3231

3332
<dt>Latest version:</dt>
33+
<dd><a href="[LATEST]/">[LATEST]/</a></dd>
3434

35-
<dd><a href="http://www.w3.org/TR/css3-values">[LATEST]</a></dd>
35+
<dt>Editor's draft:
36+
<dd><a href="http://dev.w3.org/csswg/[SHORTNAME]/">http://dev.w3.org/csswg/[SHORTNAME]/</var></a>
3637

3738
<dt>Previous version:</dt>
38-
39-
<dd><a href="http://www.w3.org/TR/2006/WD-css3-values-20060919">http://www.w3.org/TR/2006/WD-css3-values-20060919</a></dd>
39+
<dd><a href="http://www.w3.org/TR/2011/WD-css3-values-20110906/">http://www.w3.org/TR/2011/WD-css3-values-20110906/</a></dd>
4040

4141
<dt>Editors:</dt>
4242
<dd><a href="mailto:howcome@opera.com">H&aring;kon Wium Lie</a> (Opera Software)
@@ -342,10 +342,10 @@ <h3 id="strings">
342342
<p>Double quotes cannot occur inside double quotes, unless escaped
343343
(as '\"' or as '\22'). Analogously for single quotes ("\'" or "\27").
344344
<pre>
345-
<!-- -->content: "this is a 'string'.";
345+
<!-- -->content: "this is a &apos;string&apos;.";
346346
<!-- -->content: "this is a \"string\".";
347-
<!-- -->content: 'this is a "string".';
348-
<!-- -->content: 'this is a \'string\'.';</pre>
347+
<!-- -->content: &apos;this is a "string".&apos;;
348+
<!-- -->content: &apos;this is a \&apos;string\&apos;.&apos;;</pre>
349349
</div>
350350

351351
<p>It is possible to break strings over several lines, for aesthetic or
@@ -863,7 +863,7 @@ <h2 id="functional-notation">
863863
function immediately followed by a left parenthesis followed by optional
864864
whitespace followed by the argument(s) to the notation followed by
865865
optional whitespace followed by a right parenthesis. If a function
866-
takes more than one argument, the arguments are separated by a comma
866+
takes a list of arguments, the arguments are separated by a comma
867867
(',') with optional whitespace before and after the comma.
868868

869869
<pre class="example">

0 commit comments

Comments
 (0)