- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Dec 2011 01:25:12 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values In directory hutz:/tmp/cvs-serv17132 Modified Files: Overview.html Overview.src.html Log Message: Fix quoting typo. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.html,v retrieving revision 1.153 retrieving revision 1.154 diff -u -d -r1.153 -r1.154 --- Overview.html 13 Dec 2011 00:38:30 -0000 1.153 +++ Overview.html 13 Dec 2011 01:25:10 -0000 1.154 @@ -601,9 +601,9 @@ <div class=example> <p>Double quotes cannot occur inside double quotes, unless escaped (as - ‘<code class=css>\"</code>’ or as ‘<code - class=css>\22</code>’). Analogously for single quotes - ("\‘<code class=css>" or "\27"). </code> + <code>"\""</code> or as <code>"\22"</code>). Analogously for single + quotes (<code>'\''</code> or + <code>'\27'</code>). <pre> <!-- -->content: "this is a 'string'."; @@ -635,9 +635,8 @@ depends on the encoding, which means a character may take up to 6 bytes in utf-8.) - <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the - ’‘<a href="#url-value"><code - class=css><url></code></a>’‘<code class=css> type</code></h3> + <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the ‘<a + href="#url-value"><code class=css><url></code></a>’ type</h3> <p>A <dfn id=url>URL</dfn> is a pointer to a resource and is a <a href="http://www.w3.org/TR/CSS21/syndata.html#uri">specially-parsed</a> <a @@ -661,22 +660,23 @@ context), a URL can be represented as a <a href="#string-value"><code><string></code></a> rather than by <a href="#url-value"><code><URL></code></a>. An example of this is the - <a - href="http://www.w3.org/TR/CSS21/cascade.html#at-import">’‘<code - class=css>@import</code>’‘<code class=css> rule</code></a>. + <a href="http://www.w3.org/TR/CSS21/cascade.html#at-import">‘<code + class=css>@import</code>’ rule</a>. - <p>Parentheses, whitespace characters, single quotes (’) and double - quotes (") appearing in a URL must be escaped with a backslash so that the - resulting value is a valid <a href="#url"><code>URL</code></a> token, e.g. - ‘<code class=css>url(open\(parens)</code>’, ‘<code - class=css>url(close\)parens)</code>’. Depending on the type of URL, - it might also be possible to write these characters as URI-escapes (where - <code>(</code> = <code>%28</code>, <code>)</code> = <code>%29</code>, - etc.) as described in <a href="#URI" + <p>Parentheses, whitespace characters, single quotes (‘<code + class=css>) and double quotes (") appearing in a URL must be escaped with + a backslash so that the resulting value is a valid <a + href="#url"><code>URL</code></a> token, e.g. + </code>’url(open\(parens)‘<code class=css>, + </code>’url(close\)parens)‘<code class=css>. Depending on the + type of URL, it might also be possible to write these characters as + URI-escapes (where <code>(</code> = <code>%28</code>, <code>)</code> = + <code>%29</code>, etc.) as described in <a href="#URI" rel=biblioentry>[URI]<!--{{URI}}--></a>. Alternatively a URL containing such characters may be represented as a quoted <a - href="#strings">string</a> within the ‘<a href="#url"><code - class=css>url()</code></a>’ notation. + href="#strings">string</a> within the </code>’‘<a + href="#url"><code class=css>url()</code></a>’‘<code class=css> + notation. </code> <p>In order to create modular style sheets that are not dependent on the absolute location of a resource, authors should use relative URIs. @@ -695,9 +695,9 @@ <pre>http://www.example.org/style/basic.css</pre> - <p>The background of the source document's <code><body></code> will - be tiled with whatever image is described by the resource designated by - the URL: + <p>The background of the source document’s <code><body></code> + will be tiled with whatever image is described by the resource designated + by the URL: <pre>http://www.example.org/style/tile.png</pre> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.src.html,v retrieving revision 1.156 retrieving revision 1.157 diff -u -d -r1.156 -r1.157 --- Overview.src.html 13 Dec 2011 00:38:31 -0000 1.156 +++ Overview.src.html 13 Dec 2011 01:25:10 -0000 1.157 @@ -325,7 +325,7 @@ <div class=example> <p>Double quotes cannot occur inside double quotes, unless escaped - (as '\"' or as '\22'). Analogously for single quotes ("\'" or "\27"). + (as <code>"\""</code> or as <code>"\22"</code>). Analogously for single quotes (<code>'\''</code> or <code>'\27'</code>). <pre> <!-- -->content: "this is a 'string'."; <!-- -->content: "this is a \"string\".";
Received on Tuesday, 13 December 2011 01:25:13 UTC