hixie: Make step='' work with type=week. (whatwg r4972)

hixie: Make step='' work with type=week. (whatwg r4972)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3994&r2=1.3995&f=h
http://html5.org/tools/web-apps-tracker?from=4971&to=4972

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3994
retrieving revision 1.3995
diff -u -d -r1.3994 -r1.3995
--- Overview.html 5 Apr 2010 21:50:35 -0000 1.3994
+++ Overview.html 5 Apr 2010 22:22:31 -0000 1.3995
@@ -28676,7 +28676,8 @@
   expressed in weeks. <span class="impl">The <a href="#concept-input-step-scale" title="concept-input-step-scale">step scale factor</a> is
   604,800,000 (which converts the weeks to milliseconds, as used in
   the other algorithms).</span> The <a href="#concept-input-step-default" title="concept-input-step-default">default step</a> is 1
-  week.<div class="impl">
+  week. <span class="impl">The <a href="#concept-input-step-default-base" title="concept-input-step-default-base">default step base</a> is
+  &minus;259,200,000 (the start of week 1970-W01).</span><div class="impl">
 
   <p>When the element is <a href="#suffering-from-a-step-mismatch">suffering from a step mismatch</a>,
   the user agent may round the element's <a href="#concept-fe-value" title="concept-fe-value">value</a> to the nearest <a href="#concept-week" title="concept-week">week</a> for which the element would not
@@ -30651,9 +30652,10 @@
   allowed values. <span class="impl">The section that defines the
   <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute's current state
   also defines the <dfn id="concept-input-step-default" title="concept-input-step-default">default
-  step</dfn> and the <dfn id="concept-input-step-scale" title="concept-input-step-scale">step scale
-  factor</dfn>, which are used in processing the attribute as
-  described below.</span><p>The <code title="attr-input-step"><a href="#attr-input-step">step</a></code> attribute, if
+  step</dfn>, the <dfn id="concept-input-step-scale" title="concept-input-step-scale">step scale
+  factor</dfn>, and in some cases the <dfn id="concept-input-step-default-base" title="concept-input-step-default-base">default step base</dfn>,
+  which are used in processing the attribute as described
+  below.</span><p>The <code title="attr-input-step"><a href="#attr-input-step">step</a></code> attribute, if
   specified, must either have a value that is a <a href="#valid-floating-point-number">valid floating
   point number</a> that <a href="#rules-for-parsing-floating-point-number-values" title="rules for parsing floating
   point number values">parses</a> to a number that is greater than
@@ -30687,7 +30689,8 @@
   not have a <code title="attr-input-min"><a href="#attr-input-min">min</a></code> attribute
   specified or the result of applying that algorithm is an error, in
   which case the <a href="#concept-input-min-zero" title="concept-input-min-zero">step base</a>
-  is zero.</p>
+  is the <a href="#concept-input-step-default-base" title="concept-input-step-default-base">default step
+  base</a>, if one is defined, or zero, if not.</p>
 
   <p><strong>Constraint validation</strong>: When the element has an
   <a href="#concept-input-step" title="concept-input-step">allowed value step</a>, and the

Received on Monday, 5 April 2010 22:23:16 UTC