11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
22 "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
33<html lang="en">
4- <!-- $Id: syndata.src,v 2.107 2005-03-02 03:18:35 bbos Exp $ -->
4+ <!-- $Id: syndata.src,v 2.108 2005-03-02 04:41:45 bbos Exp $ -->
55<head>
66<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77<title>Syntax and basic data types</title>
@@ -232,7 +232,7 @@ href="#parsing-errors">rules for handling parsing errors</a>. However, because t
232232 href="selector.html">selectors</a>) can contain only the
233233 characters [A-Za-z0-9] and ISO 10646 characters <!--161--> U+00A1 and higher,
234234 plus the hyphen (-) and the underscore (_); they cannot start with
235- a digit or a hyphen followed by a digit.
235+ a digit, or a hyphen followed by a digit.
236236 Only properties, values, units, pseudo-classes,
237237 pseudo-elements, and at-rules may <em>start</em> with a hyphen (-); other
238238 identifiers (e.g. element names, classes, or IDs) may not.
@@ -324,8 +324,8 @@ the whole of the at-rule and continue parsing after it.
324324<p>CSS 2.1 user agents must <span class="index-inst" title="ignore"><a
325325href="#ignore">ignore</a></span> any <a
326326href="cascade.html#at-import">'@import'</a> rule that occurs inside a <a
327- href="#block">block</a> or after any valid rule other than an @charset or
328- an @import rule.
327+ href="#block">block</a> or after any valid rule other than an <span
328+ class="index-inst">@charset</span> or an @import rule.
329329</p>
330330
331331<div class="illegal-example"><p>
@@ -1211,20 +1211,21 @@ encoding</span> (from highest priority to lowest):
12111211<ol>
12121212<li>An HTTP "charset" parameter in a "Content-Type" field
12131213(or similar parameters in other protocols)</li>
1214- <li>BOM and/or @charset (see below)</li>
1214+ <li><span class="index-inst">BOM</span> and/or <span
1215+ class="index-inst">@charset</span> (see below)</li>
12151216<li><code><link charset=""></code> or other metadata from the linking mechanism (if any)</li>
12161217<li>charset of referring stylesheet or document (if any)</li>
12171218<li>Assume UTF-8</li>
12181219</ol>
12191220
1220- <p>Authors using an @charset rule must place the rule at the very
1221- beginning of the style sheet, preceded by no characters. (If a byte
1222- order mark is appropriate for the encoding used, it may precede the
1223- @charset rule.)
1221+ <p>Authors using an <span class="index-inst"> @charset</span> rule must
1222+ place the rule at the very beginning of the style sheet, preceded by
1223+ no characters. (If a byte order mark is appropriate for the encoding
1224+ used, it may precede the @charset rule.)
12241225</p>
12251226
1226- <p>After " @charset", authors specify the name of a character encoding
1227- (in quotes). For example:
1227+ <p>After <span class="index-def">" @charset"</span> , authors specify
1228+ the name of a character encoding (in quotes). For example:
12281229</p>
12291230
12301231<pre class="example">@charset "ISO-8859-1";</pre>
@@ -1240,10 +1241,11 @@ the charset names marked as "preferred MIME name" in the IANA
12401241registry.
12411242</p>
12421243
1243- <p>User agents must support at least the UTF-8 encoding.
1244+ <p>User agents must support at least the <span
1245+ class="index-inst">UTF-8</span> encoding.
12441246
12451247<p>User agents must ignore any @charset rule not at the beginning of the
1246- style sheet. When user agents detect the character encoding using the
1248+ style sheet. When user agents detect the character encoding using the
12471249BOM and/or the @charset rule, they should follow the following rules:
12481250</p>
12491251
0 commit comments