HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2368[Authors] [Conformance Checkers] WF2: Define conformance criteria for <input value>. (credit: hs) Also, remove a redundant conformance requirement for contentEditable. (credit: gl)2008-10-28 01:12
@@ -26719,20 +26719,24 @@ function AddCloud(data, x, y) { ... }</pre>
   <p>The <code>input</code> element represents a one line plain text
   edit control for the element's <span
   title="concept-fe-value">value</span>.</p>
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,
   its <span title="concept-fe-value">value</span> 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 <span title="concept-fe-value">value</span>.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that contains no U+000A LINE FEED (LF)
+  or U+000D CARRIAGE RETURN (CR) characters.</p>
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> <span>Strip line breaks</span> from the <span
   title="concept-fe-value">value</span>.</p>
 
   <div class="bookkeeping">
 
    <p>The following common <code>input</code> element content
    attributes and DOM attributes apply to the element:
    <code title="attr-input-autocomplete">autocomplete</code>,
    <code title="attr-input-list">list</code>,
@@ -26791,31 +26795,38 @@ function AddCloud(data, x, y) { ... }</pre>
   the user agent should allow the user to change the e-mail address
   represented by its <span title="concept-fe-value">value</span>. User
   agents may allow the user to set the <span
   title="concept-fe-value">value</span> to a string that is not an
   e-mail address. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> 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 <span
   title="concept-fe-value">value</span>.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid e-mail
+  address</span>.</p>
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> <span>Strip line breaks</span> from the <span
   title="concept-fe-value">value</span>.</p>
 
   <p><strong>Constraint validation:</strong> While the <span
-  title="concept-fe-value">value</span> of the element does not match
-  the <code>addr-spec</code> token defined in RFC 2822 section 3.4.1,
+  title="concept-fe-value">value</span> of the element is not a
+  <span>valid e-mail address</span>, the element is <span>suffering
+  from a type mismatch</span>.</p>
+
+  <p>A <dfn>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 <span>suffering
-  from a type mismatch</span>. <a
+  <code>quoted-string</code> subtoken. <a
   href="#refsRFC2822">[RFC2822]</a></p>
 
   <div class="bookkeeping">
 
    <p>The following common <code>input</code> element content
    attributes and DOM attributes apply to the element:
    <code title="attr-input-autocomplete">autocomplete</code>,
    <code title="attr-input-list">list</code>,
    <code title="attr-input-maxlength">maxlength</code>,
    <code title="attr-input-pattern">pattern</code>,
@@ -26872,20 +26883,23 @@ function AddCloud(data, x, y) { ... }</pre>
   agent should allow the user to change the URL represented by its
   <span title="concept-fe-value">value</span>. User agents may allow
   the user to set the <span title="concept-fe-value">value</span> to a
   string that is not a <span>valid URL</span>. User agents should
   allow the user to set the <span
   title="concept-fe-value">value</span> 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 <span
   title="concept-fe-value">value</span>.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid URL</span>.</p>
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> <span>Strip line breaks</span> from the <span
   title="concept-fe-value">value</span>.</p>
 
   <p><strong>Constraint validation:</strong> While the <span
   title="concept-fe-value">value</span> of the element is not a
   <span>valid URL</span>, the element is <span>suffering from a type
   mismatch</span>.</p>
 
   <div class="bookkeeping">
@@ -26945,20 +26959,24 @@ function AddCloud(data, x, y) { ... }</pre>
   edit control for the element's <span
   title="concept-fe-value">value</span>. The user agent should obscure
   the value so that people other than the user cannot see it.</p>
 
   <p>If the element is <i title="concept-input-mutable">mutable</i>,
   its <span title="concept-fe-value">value</span> 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 <span
   title="concept-fe-value">value</span>.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that contains no U+000A LINE FEED (LF)
+  or U+000D CARRIAGE RETURN (CR) characters.</p>
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> <span>Strip line breaks</span> from the <span
   title="concept-fe-value">value</span>.</p>
 
   <div class="bookkeeping">
 
    <p>The following common <code>input</code> element content
    attributes and DOM attributes apply to the element:
    <code title="attr-input-autocomplete">autocomplete</code>,
    <code title="attr-input-maxlength">maxlength</code>,
@@ -27020,20 +27038,25 @@ function AddCloud(data, x, y) { ... }</pre>
   time</span> from it. User agents must not allow the user to set the
   <span title="concept-fe-value">value</span> to a string that is not
   a <span>valid UTC date and time string</span>. If the user agent
   provides a user interface for selecting a <span
   title="concept-datetime">UTC date and time</span>, then the <span
   title="concept-fe-value">value</span> must be set to a <span>valid
   UTC date and time string</span> representing the user's
   selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid UTC date and time
+  string</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid UTC date and time string</span>,
   then set it to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid UTC date and time
   string</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid UTC
   date and time string</span>.</p>
@@ -27157,20 +27180,25 @@ function AddCloud(data, x, y) { ... }</pre>
   title="parse a date string">parsing a date</span> from it. User
   agents must not allow the user to set the <span
   title="concept-fe-value">value</span> to a string that is not a
   <span>valid date string</span>. If the user agent provides a user
   interface for selecting a <span title="concept-date">date</span>,
   then the <span title="concept-fe-value">value</span> must be set to
   a <span>valid date string</span> representing the user's
   selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid date
+  string</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid date string</span>, then set it
   to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid date
   string</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid
   date string</span>.</p>
@@ -27292,20 +27320,25 @@ function AddCloud(data, x, y) { ... }</pre>
   title="parse a month string">parsing a month</span> from it. User
   agents must not allow the user to set the <span
   title="concept-fe-value">value</span> to a string that is not a
   <span>valid month string</span>. If the user agent provides a user
   interface for selecting a <span title="concept-month">month</span>,
   then the <span title="concept-fe-value">value</span> must be set to
   a <span>valid month string</span> representing the user's
   selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid month
+  string</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid month string</span>, then set it
   to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid month
   string</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid
   month string</span>.</p>
@@ -27429,20 +27462,25 @@ function AddCloud(data, x, y) { ... }</pre>
   title="parse a week string">parsing a week</span> from it. User
   agents must not allow the user to set the <span
   title="concept-fe-value">value</span> to a string that is not a
   <span>valid week string</span>. If the user agent provides a user
   interface for selecting a <span title="concept-week">week</span>,
   then the <span title="concept-fe-value">value</span> must be set to
   a <span>valid week string</span> representing the user's
   selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid week
+  string</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid week string</span>, then set it
   to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid week
   string</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid
   week string</span>.</p>
@@ -27565,20 +27603,25 @@ function AddCloud(data, x, y) { ... }</pre>
   title="parse a time string">parsing a time</span> from it. User
   agents must not allow the user to set the <span
   title="concept-fe-value">value</span> to a string that is not a
   <span>valid time string</span>. If the user agent provides a user
   interface for selecting a <span title="concept-time">time</span>,
   then the <span title="concept-fe-value">value</span> must be set to
   a <span>valid time string</span> representing the user's
   selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid time
+  string</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid time string</span>, then set it
   to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid time
   string</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid
   time string</span>.</p>
@@ -27697,20 +27740,25 @@ function AddCloud(data, x, y) { ... }</pre>
   time</span> from it. User agents must not allow the user to set the
   <span title="concept-fe-value">value</span> to a string that is not
   a <span>valid local date and time string</span>. If the user agent
   provides a user interface for selecting a <span
   title="concept-datetime-local">local date and time</span>, then the
   <span title="concept-fe-value">value</span> must be set to a
   <span>valid local date and time string</span> representing the
   user's selection. User agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid local date and
+  time string</span>.</p> <!-- ok to set out-of-range value, we never
+  know when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid local date and time
   string</span>, then set it to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid local date and
   time string</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid
   local date and time string</span>.</p>
@@ -27812,20 +27860,25 @@ function AddCloud(data, x, y) { ... }</pre>
   obtained from applying the <span>rules for parsing floating point
   number values</span> to it. User agents must not allow the user to
   set the <span title="concept-fe-value">value</span> to a string that
   is not a <span>valid floating point number</span>. If the user agent
   provides a user interface for selecting a number, then the <span
   title="concept-fe-value">value</span> must be set to a <span>valid
   floating point number</span> representing the user's selection. User
   agents should allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid floating point
+  number</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid floating point number</span>,
   then set it to the empty string instead.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid floating point
   number</span>. The <code title="attr-input-max">max</code>
   attribute, if specified, must have a value that is a <span>valid
   floating point number</span>.</p>
@@ -27926,20 +27979,25 @@ function AddCloud(data, x, y) { ... }</pre>
   obtained from applying the <span>rules for parsing floating point
   number values</span> to it. User agents must not allow the user to
   set the <span title="concept-fe-value">value</span> to a string that
   is not a <span>valid floating point number</span>. If the user agent
   provides a user interface for selecting a number, then the <span
   title="concept-fe-value">value</span> must be set to a <span>valid
   floating point number</span> representing the user's selection. User
   agents must not allow the user to set the <span
   title="concept-fe-value">value</span> to the empty string.</p>
 
+  <p>The <code title="attr-input-value">value</code> attribute, if
+  specified, must have a value that is a <span>valid floating point
+  number</span>.</p> <!-- ok to set out-of-range value, we never know
+  when we might have to represent bogus input -->
+
   <p><strong>The <span>value sanitization algorithm</span> is as
   follows:</strong> If the <span title="concept-fe-value">value</span>
   of the element is not a <span>valid floating point number</span>,
   then set it to a <span>valid floating point number</span> that
   represents the <span
   title="concept-input-value-default-range">default value</span>.</p>
 
   <p>The <code title="attr-input-min">min</code> attribute, if
   specified, must have a value that is a <span>valid floating point
   number</span>. The <span title="concept-input-min-default">default
@@ -44845,32 +44903,28 @@ at the first element with the given ID must be treated as if it was cloned and r
   exception.</p>
 
 
 
 
   <h3 id="contenteditable">The <code
   title="attr-contenteditable">contenteditable</code> attribute</h3>
 
   <p>The <dfn
   title="attr-contenteditable"><code>contenteditable</code></dfn>
-  attribute is a common attribute. User agents must support this
-  attribute on all <span>HTML elements</span>.</p>
-
-  <p>The <code title="attr-contenteditable">contenteditable</code>
   attribute is an <span>enumerated attribute</span> 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>
+  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>
 
   <p>If an <span title="HTML elements">HTML element</span> has a <code
   title="attr-contenteditable">contenteditable</code> attribute set to
   the true state, or it has its <code
   title="attr-contenteditable">contenteditable</code> attribute set to
   the inherit state and if its nearest ancestor <span title="HTML
   elements">HTML element</span> with the <code
   title="attr-contenteditable">contenteditable</code> attribute set to
   a state other than the inherit state has its attribute set to the
   true state, or if it and its ancestors all have their <code
@@ -57667,22 +57721,22 @@ interface <dfn>TimeoutHandler</dfn> {
   Barclay, Daniel Brumbaugh Keeney, Daniel Glazman, Daniel Peng,
   Daniel Sp&aring;ng, Daniel Steinberg, Danny Sullivan, Darin Adler,
   Darin Fisher, Dave Camp, Dave Singer, Dave Townsend<!-- Mossop on
   moz irc -->, David Baron, David Bloom, David Carlisle, David
   Flanagan, David H&aring;s&auml;ther, David Hyatt, David Smith, Dean
   Edridge, Debi Orton, Derek Featherstone, DeWitt Clinton, Dimitri
   Glazkov, dolphinling, Doron Rosenberg, Doug Kramer, Edward O'Connor,
   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,
   Jeff Walden, Jens Bannmann, Jens Fendler, Jeroen van der Meer, Jim
   Jewett, Jim Meehan, Joe Clark, Joseph Kesselman, Jjgod Jiang, Joel
   Spolsky, Johan Herland, John Boyer, John Bussjaeger, John Harding,
   Johnny Stenback, Jon Perlow, Jonathan Worent, Jorgen Horstink, Josh
   Levenberg, Joshua Randall, Jukka K. Korpela, Jules
   Cl&eacute;ment-Ripoche, Julian Reschke, Kai Hendry, <!-- Keryx Web,
   = Lars Gunther --> Kornel Lesinski, &#x9ed2;&#x6fa4;&#x525b;&#x5fd7;

|