html5/spec Overview.html,1.1539,1.1540

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv3100

Modified Files:
	Overview.html 
Log Message:
WF2: Define conformance criteria for <input value>. (credit: hs) Also, remove a redundant conformance requirement for contentEditable. (credit: gl) (whatwg r2368)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1539
retrieving revision 1.1540
diff -u -d -r1.1539 -r1.1540
--- Overview.html	24 Oct 2008 10:16:09 -0000	1.1539
+++ Overview.html	28 Oct 2008 01:12:58 -0000	1.1540
@@ -8,7 +8,7 @@
    <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p>
    <h1>HTML 5</h1>
    <h2 class="no-num no-toc" id=a-vocabulary-and-associated-apis-for-html-and-xhtml>A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->24 October 2008</h2>
+   <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->28 October 2008</h2>
    <dl><!-- ZZZ: update the month/day
     <dt>This Version:</dt>
     <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd>
@@ -97,7 +97,7 @@
   specification's progress along the W3C Recommendation
   track.
   <!--ZZZ:-->
-  This specification is the 24 October 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
+  This specification is the 28 October 2008 <!--ZZZ "Working Draft"-->Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -19579,7 +19579,9 @@
   its <a href=#concept-fe-value title=concept-fe-value>value</a> should be editable
   by the user. User agents must not allow users to insert U+000A LINE
   FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the
-  element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  element's <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that contains no U+000A LINE FEED (LF)
+  or U+000D CARRIAGE RETURN (CR) characters.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.<div class=bookkeeping>
 
    <p>The following common <code><a href=#the-input-element>input</a></code> element content
@@ -19630,13 +19632,16 @@
   agents may allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to a string that is not an
   e-mail address. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string. User
   agents must not allow users to insert U+000A LINE FEED (LF) or
-  U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
-  follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>Constraint validation:</strong> While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element does not match
-  the <code>addr-spec</code> token defined in RFC 2822 section 3.4.1,
+  U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-e-mail-address>valid e-mail
+  address</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>Constraint validation:</strong> While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a
+  <a href=#valid-e-mail-address>valid e-mail address</a>, the element is <a href=#suffering-from-a-type-mismatch>suffering
+  from a type mismatch</a>.<p>A <dfn id=valid-e-mail-address>valid e-mail address</dfn> is a string that matches the
+  <code>addr-spec</code> token defined in RFC 2822 section 3.4.1,
   excluding the <code>CFWS</code> subtoken everywhere, and excluding
   the <code>FWS</code> subtoken everywhere except in the
-  <code>quoted-string</code> subtoken, the element is <a href=#suffering-from-a-type-mismatch>suffering
-  from a type mismatch</a>. <a href=#references>[RFC2822]</a><div class=bookkeeping>
+  <code>quoted-string</code> subtoken. <a href=#references>[RFC2822]</a><div class=bookkeeping>
 
    <p>The following common <code><a href=#the-input-element>input</a></code> element content
    attributes and DOM attributes apply to the element:
@@ -19687,7 +19692,8 @@
   string that is not a <a href=#valid-url>valid URL</a>. User agents should
   allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string. User
   agents must not allow users to insert U+000A LINE FEED (LF) or
-  U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-url>valid URL</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>Constraint validation:</strong> While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a
   <a href=#valid-url>valid URL</a>, the element is <a href=#suffering-from-a-type-mismatch>suffering from a type
   mismatch</a>.<div class=bookkeeping>
@@ -19738,7 +19744,9 @@
   the value so that people other than the user cannot see it.<p>If the element is <i title=concept-input-mutable><a href=#concept-input-mutable>mutable</a></i>,
   its <a href=#concept-fe-value title=concept-fe-value>value</a> should be editable
   by the user. User agents must not allow users to insert U+000A LINE
-  FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  FEED (LF) or U+000D CARRIAGE RETURN (CR) characters into the <a href=#concept-fe-value title=concept-fe-value>value</a>.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that contains no U+000A LINE FEED (LF)
+  or U+000D CARRIAGE RETURN (CR) characters.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.<div class=bookkeeping>
 
    <p>The following common <code><a href=#the-input-element>input</a></code> element content
@@ -19791,7 +19799,10 @@
   a <a href=#valid-utc-date-and-time-string>valid UTC date and time string</a>. If the user agent
   provides a user interface for selecting a <a href=#concept-datetime title=concept-datetime>UTC date and time</a>, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-utc-date-and-time-string>valid
   UTC date and time string</a> representing the user's
-  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-utc-date-and-time-string>valid UTC date and time
+  string</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-utc-date-and-time-string>valid UTC date and time string</a>,
   then set it to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -19878,7 +19889,10 @@
   interface for selecting a <a href=#concept-date title=concept-date>date</a>,
   then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
   a <a href=#valid-date-string>valid date string</a> representing the user's
-  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-date-string>valid date
+  string</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-date-string>valid date string</a>, then set it
   to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -19968,7 +19982,10 @@
   interface for selecting a <a href=#concept-month title=concept-month>month</a>,
   then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
   a <a href=#valid-month-string>valid month string</a> representing the user's
-  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-month-string>valid month
+  string</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-month-string>valid month string</a>, then set it
   to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -20056,7 +20073,10 @@
   interface for selecting a <a href=#concept-week title=concept-week>week</a>,
   then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
   a <a href=#valid-week-string>valid week string</a> representing the user's
-  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-week-string>valid week
+  string</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-week-string>valid week string</a>, then set it
   to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -20146,7 +20166,10 @@
   interface for selecting a <a href=#concept-time title=concept-time>time</a>,
   then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to
   a <a href=#valid-time-string>valid time string</a> representing the user's
-  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-time-string>valid time
+  string</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-time-string>valid time string</a>, then set it
   to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -20234,7 +20257,10 @@
   provides a user interface for selecting a <a href=#concept-datetime-local title=concept-datetime-local>local date and time</a>, then the
   <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a
   <a href=#valid-local-date-and-time-string>valid local date and time string</a> representing the
-  user's selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  user's selection. User agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-local-date-and-time-string>valid local date and
+  time string</a>.</p><!-- ok to set out-of-range value, we never
+  know when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-local-date-and-time-string>valid local date and time
   string</a>, then set it to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -20312,7 +20338,10 @@
   is not a <a href=#valid-floating-point-number>valid floating point number</a>. If the user agent
   provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-floating-point-number>valid
   floating point number</a> representing the user's selection. User
-  agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  agents should allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+  number</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-floating-point-number>valid floating point number</a>,
   then set it to the empty string instead.<p>The <code title=attr-input-min><a href=#attr-input-min>min</a></code> attribute, if
@@ -20391,7 +20420,10 @@
   is not a <a href=#valid-floating-point-number>valid floating point number</a>. If the user agent
   provides a user interface for selecting a number, then the <a href=#concept-fe-value title=concept-fe-value>value</a> must be set to a <a href=#valid-floating-point-number>valid
   floating point number</a> representing the user's selection. User
-  agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
+  agents must not allow the user to set the <a href=#concept-fe-value title=concept-fe-value>value</a> to the empty string.<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
+  specified, must have a value that is a <a href=#valid-floating-point-number>valid floating point
+  number</a>.</p><!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input --><p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
   follows:</strong> If the <a href=#concept-fe-value title=concept-fe-value>value</a>
   of the element is not a <a href=#valid-floating-point-number>valid floating point number</a>,
   then set it to a <a href=#valid-floating-point-number>valid floating point number</a> that
@@ -31596,14 +31628,11 @@
   <code><a href=#the-input-element>input</a></code> elements that are not displaying simple text
   fields, they must raise an <code>INVALID_STATE_ERR</code>
   exception.<h3 id=contenteditable><span class=secno>6.7 </span>The <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute</h3><p>The <dfn id=attr-contenteditable title=attr-contenteditable><code>contenteditable</code></dfn>
-  attribute is a common attribute. User agents must support this
-  attribute on all <a href=#html-elements>HTML elements</a>.<p>The <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code>
   attribute is an <a href=#enumerated-attribute>enumerated attribute</a> whose keywords are
-  the empty string, <code title="">true</code>, and <code title="">false</code>. The empty string and the <code title="">true</code> keyword map to the <i>true</i> state. The
-  <code title="">false</code> keyword maps to the <i>false</i>
-  state. In addition, there is a third state, the <i>inherit</i>
-  state, which is the <i>missing value default</i> (and the
-  <i>invalid value default</i>).<p>If an <a href=#html-elements title="HTML elements">HTML element</a> has a <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute set to
+  the empty string, <code title="">true</code>, and <code title="">false</code>. The empty string and the <code title="">true</code> keyword map to the <i>true</i> state. The <code title="">false</code> keyword maps to the <i>false</i> state. In
+  addition, there is a third state, the <i>inherit</i> state, which is
+  the <i>missing value default</i> (and the <i>invalid value
+  default</i>).<p>If an <a href=#html-elements title="HTML elements">HTML element</a> has a <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute set to
   the true state, or it has its <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute set to
   the inherit state and if its nearest ancestor <a href=#html-elements title="HTML
   elements">HTML element</a> with the <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute set to
@@ -43277,8 +43306,8 @@
   Eira Monstad, Elliotte Harold, Eric Carlson, Eric Law, Erik
   Arvidsson, Evan Martin, Evan Prodromou, fantasai, Felix Sasaki,
   Franck 'Shift' Qu&eacute;lain, Garrett Smith, Geoffrey Garen,
-  Geoffrey Sneddon, H&aring;kon Wium Lie, Henri Sivonen, Henrik Lied,
-  Henry Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel
+  Geoffrey Sneddon, George Lund, H&aring;kon Wium Lie, Henri Sivonen,
+  Henrik Lied, Henry Mason, Hugh Winkler, Ignacio Javier, Ivo Emanuel
   Gon&ccedil;alves, J. King, Jacques Distler, James Graham, James
   Justin Harrell, James M Snell, James Perrett, Jan-Klaas Kollhof,
   Jason White, Jasper Bryant-Greene, Jeff Cutsinger, Jeff Schiller,

Received on Tuesday, 28 October 2008 01:13:11 UTC