hixie: pedantic nit: spec required a valid value but then required the empty value as well; that's contradictory. (whatwg r5744)

hixie: pedantic nit: spec required a valid value but then required the
empty value as well; that's contradictory. (whatwg r5744)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4605&r2=1.4606&f=h
http://html5.org/tools/web-apps-tracker?from=5743&to=5744

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4605
retrieving revision 1.4606
diff -u -d -r1.4605 -r1.4606
--- Overview.html 6 Jan 2011 22:58:41 -0000 1.4605
+++ Overview.html 6 Jan 2011 23:08:42 -0000 1.4606
@@ -31978,12 +31978,13 @@
   its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as obtained by
   <a href="#parse-a-global-date-and-time-string" title="parse a global date and time string">parsing a global
   date and time</a> from it. User agents must not allow the user to
-  set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that
-  is not a <a href="#valid-global-date-and-time-string">valid global date and time string</a> expressed in
-  UTC, though user agents may allow the user to set and view the time
-  in another time zone and silently translate the time to and from the
-  UTC time zone in the <a href="#concept-fe-value" title="concept-fe-value">value</a>. If
-  the user agent provides a user interface for selecting a <a href="#concept-datetime" title="concept-datetime">global 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-global-date-and-time-string">valid
+  set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a non-empty
+  string that is not a <a href="#valid-global-date-and-time-string">valid global date and time string</a>
+  expressed in UTC, though user agents may allow the user to set and
+  view the time in another time zone and silently translate the time
+  to and from the UTC time zone in the <a href="#concept-fe-value" title="concept-fe-value">value</a>. If the user agent provides a
+  user interface for selecting a <a href="#concept-datetime" title="concept-datetime">global
+  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-global-date-and-time-string">valid
   global date and time string</a> expressed in UTC 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>
 
@@ -32127,12 +32128,11 @@
 
   <p>If the element is <i title="concept-input-mutable"><a href="#concept-input-mutable">mutable</a></i>,
   the user agent should allow the user to change the <a href="#concept-date" title="concept-date">date</a> represented by its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as obtained by <a href="#parse-a-date-string" title="parse a date string">parsing a date</a> from it. User
-  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that is not a
-  <a href="#valid-date-string">valid date string</a>. If the user agent provides a user
-  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>
+  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a non-empty string that is
+  not a <a href="#valid-date-string">valid date string</a>. If the user agent provides a
+  user 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>
 
   </div><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
@@ -32254,12 +32254,11 @@
 
   <p>If the element is <i title="concept-input-mutable"><a href="#concept-input-mutable">mutable</a></i>,
   the user agent should allow the user to change the <a href="#concept-month" title="concept-month">month</a> represented by its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as obtained by <a href="#parse-a-month-string" title="parse a month string">parsing a month</a> from it. User
-  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that is not a
-  <a href="#valid-month-string">valid month string</a>. If the user agent provides a user
-  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>
+  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a non-empty string that is
+  not a <a href="#valid-month-string">valid month string</a>. If the user agent provides a
+  user 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>
 
   </div><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
@@ -32382,12 +32381,11 @@
 
   <p>If the element is <i title="concept-input-mutable"><a href="#concept-input-mutable">mutable</a></i>,
   the user agent should allow the user to change the <a href="#concept-week" title="concept-week">week</a> represented by its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as obtained by <a href="#parse-a-week-string" title="parse a week string">parsing a week</a> from it. User
-  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that is not a
-  <a href="#valid-week-string">valid week string</a>. If the user agent provides a user
-  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>
+  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a non-empty string that is
+  not a <a href="#valid-week-string">valid week string</a>. If the user agent provides a
+  user 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>
 
   </div><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
@@ -32513,12 +32511,11 @@
 
   <p>If the element is <i title="concept-input-mutable"><a href="#concept-input-mutable">mutable</a></i>,
   the user agent should allow the user to change the <a href="#concept-time" title="concept-time">time</a> represented by its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as obtained by <a href="#parse-a-time-string" title="parse a time string">parsing a time</a> from it. User
-  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that is not a
-  <a href="#valid-time-string">valid time string</a>. If the user agent provides a user
-  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>
+  agents must not allow the user to set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a non-empty string that is
+  not a <a href="#valid-time-string">valid time string</a>. If the user agent provides a
+  user 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>
 
   </div><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
@@ -32639,9 +32636,9 @@
   its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as obtained by
   <a href="#parse-a-local-date-and-time-string" title="parse a local date and time string">parsing a date and
   time</a> from it. User agents must not allow the user to set the
-  <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that is not
-  a <a href="#valid-local-date-and-time-string">valid local date and time string</a>. If the user agent
-  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> to a non-empty string
+  that is not a <a href="#valid-local-date-and-time-string">valid local date and time string</a>. If the
+  user agent 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>
@@ -32779,12 +32776,14 @@
   represented by its <a href="#concept-fe-value" title="concept-fe-value">value</a>, as
   obtained from applying the <a href="#rules-for-parsing-floating-point-number-values">rules for parsing floating point
   number values</a> to it. User agents must not allow the user to
-  set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a string that
-  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 the <a href="#best-representation-of-the-number-as-a-floating-point-number" title="best representation of the number as a floating point
-  number">best representation of the number representing the user's
-  selection as a floating point number</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.</p>
+  set the <a href="#concept-fe-value" title="concept-fe-value">value</a> to a non-empty
+  string that 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
+  the <a href="#best-representation-of-the-number-as-a-floating-point-number" title="best representation of the number as a floating
+  point number">best representation of the number representing the
+  user's selection as a floating point number</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.</p>
 
   </div><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

Received on Wednesday, 12 January 2011 02:44:12 UTC