Skip to content

Commit b8d4146

Browse files
committed
[css2] Tantek's edit to charset rules.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402207
1 parent 10146bd commit b8d4146

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

css2/syndata.src

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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.95 2004-02-10 17:23:55 bbos Exp $ -->
4+
<!-- $Id: syndata.src,v 2.96 2004-02-10 18:51:17 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>
88
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
9-
<!-- Changed by: Tantek Celik, 2004-02-09 -->
9+
<!-- Changed by: Tantek Celik, 2004-02-10 -->
1010
<style type="text/css">
1111
span.colorsquare { float:left; width:5em; height:3em; text-align:center; padding:1.2em 0 .8em }
1212
span.colorname { font-weight:bold }
@@ -1195,14 +1195,14 @@ encoding::default|default::character encoding">character
11951195
encoding</span> (from highest priority to lowest):
11961196
</p>
11971197
<ol>
1198-
<li>An HTTP "charset" parameter in a "Content-Type" field.</li>
1198+
<li>An HTTP "charset" parameter in a "Content-Type" field</li>
11991199
<li>The <span class="index-def" title="@charset">@charset</span>
1200-
at-rule.</li>
1201-
<li>Mechanisms of the language of the
1202-
referencing document (e.g., in HTML, the "charset"
1203-
attribute of the LINK element).</li>
1204-
<li>UA-dependent mechanisms (e.g., guessing based on the <a
1205-
href="#BOM">BOM</a>)</li>
1200+
at-rule</li>
1201+
<li><a
1202+
href="#BOM">BOM</a></li>
1203+
<li><code>&lt;link charset=""&gt;</code> or other metadata from the linking mechanism (if any)</li>
1204+
<li>charset of referring document (if any)</li>
1205+
<li>UA-dependent mechanisms</li>
12061206
</ol>
12071207

12081208
<p>At most one @charset rule may appear in an external style sheet and

0 commit comments

Comments
 (0)