html5/spec Overview.html,1.5515,1.5516

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

Modified Files:
	Overview.html 
Log Message:
Define how valueAsDate's setter should handle a NaN time value. (whatwg r6918)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5515
retrieving revision 1.5516
diff -u -d -r1.5515 -r1.5516
--- Overview.html	25 Jan 2012 23:06:41 -0000	1.5515
+++ Overview.html	25 Jan 2012 23:20:30 -0000	1.5516
@@ -38372,9 +38372,10 @@
 
   <p>On setting, if the <code title="dom-input-valueAsDate"><a href="#dom-input-valueasdate">valueAsDate</a></code> attribute does not
   apply, as defined for the <code><a href="#the-input-element">input</a></code> element's <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute's current state, then
-  throw an <code><a href="#invalidstateerror">InvalidStateError</a></code> exception; otherwise, if
-  the new value is null, then set the <a href="#concept-fe-value" title="concept-fe-value">value</a> of the element to the empty
-  string; otherwise, run the <a href="#concept-input-value-date-string" title="concept-input-value-date-string">algorithm to convert a
+  throw an <code><a href="#invalidstateerror">InvalidStateError</a></code> exception; otherwise, if the
+  new value is null or a <code>Date</code> object representing the NaN
+  time value, then set the <a href="#concept-fe-value" title="concept-fe-value">value</a>
+  of the element to the empty string; otherwise, run the <a href="#concept-input-value-date-string" title="concept-input-value-date-string">algorithm to convert a
   <code>Date</code> object to a string</a>, as defined for that
   state, on the new value, and set the <a href="#concept-fe-value" title="concept-fe-value">value</a> of the element to resulting
   string.</p>

Received on Wednesday, 25 January 2012 23:20:36 UTC