[html5] r1700 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sat May 24 03:20:44 PDT 2008
Author: ianh
Date: 2008-05-24 03:20:43 -0700 (Sat, 24 May 2008)
New Revision: 1700
Modified:
index
source
Log:
[ct] (0) Require that if a <meta> charset is included, the encoding be ASCII-compatible. Update the list of SVG attributes (commented out) to work around errors in the SVG spec...
Modified: index
===================================================================
--- index 2008-05-24 09:44:50 UTC (rev 1699)
+++ index 2008-05-24 10:20:43 UTC (rev 1700)
@@ -8544,19 +8544,31 @@
<p>If the document does not start with a BOM, and if its encoding is not
explicitly given by <a href="#content-type8"
title=Content-Type>Content-Type metadata</a>, then the character encoding
- used must be a superset of US-ASCII (specifically, ANSI_X3.4-1968) for
- bytes in the range 0x09 - 0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F,
- 0x41 - 0x5A, and 0x61 - 0x7A<!-- XXX #refs RFC1345 ? -->
- <!-- is that list ok? do
- any character sets we want to support do things outside that range?
- -->,
- and, in addition, if that encoding isn't US-ASCII itself, then the
- encoding must be specified using a <code><a href="#meta0">meta</a></code>
+ used must be an <a href="#ascii-compatible">ASCII-compatible character
+ encoding</a>, and, in addition, if that encoding isn't US-ASCII itself,
+ then the encoding must be specified using a <code><a
+ href="#meta0">meta</a></code> element with a <code
+ title=attr-meta-charset><a href="#charset1">charset</a></code> attribute
+ or a <code><a href="#meta0">meta</a></code> element in the <a
+ href="#encoding" title=attr-meta-http-equiv-content-type>Encoding
+ declaration state</a>.
+
+ <p>If the document contains a <code><a href="#meta0">meta</a></code>
element with a <code title=attr-meta-charset><a
href="#charset1">charset</a></code> attribute or a <code><a
href="#meta0">meta</a></code> element in the <a href="#encoding"
- title=attr-meta-http-equiv-content-type>Encoding declaration state</a>.
+ title=attr-meta-http-equiv-content-type>Encoding declaration state</a>,
+ then the character encoding used must be an <a
+ href="#ascii-compatible">ASCII-compatible character encoding</a>.
+ <p>An <dfn id=ascii-compatible>ASCII-compatible character encoding</dfn> is
+ one that is a superset of US-ASCII (specifically, ANSI_X3.4-1968) for
+ bytes in the range 0x09 - 0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F,
+ 0x41 - 0x5A, and 0x61 - 0x7A<!-- is that list ok? do any character
+ sets we want to support do things outside that range? -->.
+ <!-- XXX
+ #refs RFC1345 ? -->
+
<p>Authors should not use JIS_X0212-1990, x-JIS0208, and encodings based on
EBCDIC. Authors should not use UTF-32. Authors must not use the CESU-8,
UTF-7, BOCU-1 and SCSU encodings. <a href="#refsCESU8">[CESU8]</a> <a
@@ -44739,6 +44751,7 @@
<thead>
<tr> <th> Attribute name on token <th> Attribute name on element
<tbody>
+ <tr> <td> <code title="">attributename</code> <td> <code title="">attributeName</code>
<tr> <td> <code title="">attributetype</code> <td> <code title="">attributeType</code>
<tr> <td> <code title="">basefrequency</code> <td> <code title="">baseFrequency</code>
<tr> <td> <code title="">baseprofile</code> <td> <code title="">baseProfile</code>
@@ -44749,11 +44762,6 @@
<tr> <td> <code title="">diffuseconstant</code> <td> <code title="">diffuseConstant</code>
<tr> <td> <code title="">edgemode</code> <td> <code title="">edgeMode</code>
<tr> <td> <code title="">externalresourcesrequired</code> <td> <code title="">externalResourcesRequired</code>
- <tr> <td> <code title="">fecolormatrix</code> <td> <code title="">feColorMatrix</code>
- <tr> <td> <code title="">fecomposite</code> <td> <code title="">feComposite</code>
- <tr> <td> <code title="">fegaussianblur</code> <td> <code title="">feGaussianBlur</code>
- <tr> <td> <code title="">femorphology</code> <td> <code title="">feMorphology</code>
- <tr> <td> <code title="">fetile</code> <td> <code title="">feTile</code>
<tr> <td> <code title="">filterres</code> <td> <code title="">filterRes</code>
<tr> <td> <code title="">filterunits</code> <td> <code title="">filterUnits</code>
<tr> <td> <code title="">glyphref</code> <td> <code title="">glyphRef</code>
@@ -44787,6 +44795,7 @@
<tr> <td> <code title="">repeatcount</code> <td> <code title="">repeatCount</code>
<tr> <td> <code title="">repeatdur</code> <td> <code title="">repeatDur</code>
<tr> <td> <code title="">requiredextensions</code> <td> <code title="">requiredExtensions</code>
+ <tr> <td> <code title="">requiredfeatures</code> <td> <code title="">requiredFeatures</code>
<tr> <td> <code title="">specularconstant</code> <td> <code title="">specularConstant</code>
<tr> <td> <code title="">specularexponent</code> <td> <code title="">specularExponent</code>
<tr> <td> <code title="">spreadmethod</code> <td> <code title="">spreadMethod</code>
Modified: source
===================================================================
--- source 2008-05-24 09:44:50 UTC (rev 1699)
+++ source 2008-05-24 10:20:43 UTC (rev 1700)
@@ -6939,18 +6939,29 @@
<p>If the document does not start with a BOM, and if its encoding is
not explicitly given by <span title="Content-Type">Content-Type
- metadata</span>, then the character encoding used must be a superset
- of US-ASCII (specifically, ANSI_X3.4-1968) for bytes in the range
- 0x09 - 0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F, 0x41 - 0x5A,
- and 0x61 - 0x7A<!-- XXX #refs RFC1345 ? --> <!-- is that list ok? do
- any character sets we want to support do things outside that range?
- -->, and, in addition, if that encoding isn't US-ASCII itself, then
- the encoding must be specified using a <code>meta</code> element
- with a <code title="attr-meta-charset">charset</code> attribute or a
+ metadata</span>, then the character encoding used must be an
+ <span>ASCII-compatible character encoding</span>, and, in addition,
+ if that encoding isn't US-ASCII itself, then the encoding must be
+ specified using a <code>meta</code> element with a <code
+ title="attr-meta-charset">charset</code> attribute or a
<code>meta</code> element in the <span
title="attr-meta-http-equiv-content-type">Encoding declaration
state</span>.</p>
+ <p>If the document contains a <code>meta</code> element with a <code
+ title="attr-meta-charset">charset</code> attribute or a
+ <code>meta</code> element in the <span
+ title="attr-meta-http-equiv-content-type">Encoding declaration
+ state</span>, then the character encoding used must be an
+ <span>ASCII-compatible character encoding</span>.</p>
+
+ <p>An <dfn>ASCII-compatible character encoding</dfn> is one that is
+ a superset of US-ASCII (specifically, ANSI_X3.4-1968) for bytes in
+ the range 0x09 - 0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F,
+ 0x41 - 0x5A, and 0x61 - 0x7A<!-- is that list ok? do any character
+ sets we want to support do things outside that range? -->. <!-- XXX
+ #refs RFC1345 ? --></p>
+
<p>Authors should not use JIS_X0212-1990, x-JIS0208, and encodings
based on EBCDIC. Authors should not use UTF-32. Authors must not use
the CESU-8, UTF-7, BOCU-1 and SCSU encodings. <a
@@ -42074,6 +42085,7 @@
<thead>
<tr> <th> Attribute name on token <th> Attribute name on element
<tbody>
+ <tr> <td> <code title="">attributename</code> <td> <code title="">attributeName</code>
<tr> <td> <code title="">attributetype</code> <td> <code title="">attributeType</code>
<tr> <td> <code title="">basefrequency</code> <td> <code title="">baseFrequency</code>
<tr> <td> <code title="">baseprofile</code> <td> <code title="">baseProfile</code>
@@ -42084,11 +42096,6 @@
<tr> <td> <code title="">diffuseconstant</code> <td> <code title="">diffuseConstant</code>
<tr> <td> <code title="">edgemode</code> <td> <code title="">edgeMode</code>
<tr> <td> <code title="">externalresourcesrequired</code> <td> <code title="">externalResourcesRequired</code>
- <tr> <td> <code title="">fecolormatrix</code> <td> <code title="">feColorMatrix</code>
- <tr> <td> <code title="">fecomposite</code> <td> <code title="">feComposite</code>
- <tr> <td> <code title="">fegaussianblur</code> <td> <code title="">feGaussianBlur</code>
- <tr> <td> <code title="">femorphology</code> <td> <code title="">feMorphology</code>
- <tr> <td> <code title="">fetile</code> <td> <code title="">feTile</code>
<tr> <td> <code title="">filterres</code> <td> <code title="">filterRes</code>
<tr> <td> <code title="">filterunits</code> <td> <code title="">filterUnits</code>
<tr> <td> <code title="">glyphref</code> <td> <code title="">glyphRef</code>
@@ -42122,6 +42129,7 @@
<tr> <td> <code title="">repeatcount</code> <td> <code title="">repeatCount</code>
<tr> <td> <code title="">repeatdur</code> <td> <code title="">repeatDur</code>
<tr> <td> <code title="">requiredextensions</code> <td> <code title="">requiredExtensions</code>
+ <tr> <td> <code title="">requiredfeatures</code> <td> <code title="">requiredFeatures</code>
<tr> <td> <code title="">specularconstant</code> <td> <code title="">specularConstant</code>
<tr> <td> <code title="">specularexponent</code> <td> <code title="">specularExponent</code>
<tr> <td> <code title="">spreadmethod</code> <td> <code title="">spreadMethod</code>
More information about the Commit-Watchers
mailing list