- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 12 Oct 2009 00:59:54 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv24822 Modified Files: Overview.html Log Message: Make stepUp() and stepDown() arguments optional. (whatwg r4106) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3264 retrieving revision 1.3265 diff -u -d -r1.3264 -r1.3265 --- Overview.html 12 Oct 2009 00:53:15 -0000 1.3264 +++ Overview.html 12 Oct 2009 00:59:49 -0000 1.3265 @@ -27814,8 +27814,8 @@ readonly attribute <a href="#htmloptionelement">HTMLOptionElement</a> <a href="#dom-input-selectedoption" title="dom-input-selectedOption">selectedOption</a>; attribute DOMString <a href="#dom-dim-width" title="dom-dim-width">width</a>; - void <a href="#dom-input-stepup" title="dom-input-stepUp">stepUp</a>(in long n); - void <a href="#dom-input-stepdown" title="dom-input-stepDown">stepDown</a>(in long n); + void <a href="#dom-input-stepup" title="dom-input-stepUp">stepUp</a>(in optional long n); + void <a href="#dom-input-stepdown" title="dom-input-stepDown">stepDown</a>(in optional long n); readonly attribute boolean <a href="#dom-cva-willvalidate" title="dom-cva-willValidate">willValidate</a>; readonly attribute <a href="#validitystate">ValidityState</a> <a href="#dom-cva-validity" title="dom-cva-validity">validity</a>; @@ -31874,14 +31874,14 @@ </dd> - <dt><var title="">input</var> . <code title="dom-input-stepUp"><a href="#dom-input-stepup">stepUp</a></code>(<var title="">n</var>)</dt> - <dt><var title="">input</var> . <code title="dom-input-stepDown"><a href="#dom-input-stepdown">stepDown</a></code>(<var title="">n</var>)</dt> + <dt><var title="">input</var> . <code title="dom-input-stepUp"><a href="#dom-input-stepup">stepUp</a></code>( [ <var title="">n</var> ] )</dt> + <dt><var title="">input</var> . <code title="dom-input-stepDown"><a href="#dom-input-stepdown">stepDown</a></code>( [ <var title="">n</var> ] )</dt> <dd> <p>Changes the form control's <a href="#concept-fe-value" title="concept-fe-value">value</a> by the value given in the <code title="attr-input-step"><a href="#attr-input-step">step</a></code> attribute, multiplied by - <var title="">n</var>.</p> + <var title="">n</var>. The default is 1.</p> <p>Throws <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception if the control is neither date- or time-based nor numeric, if the <code title="attr-input-step"><a href="#attr-input-step">step</a></code> attribute's value is "<code title="">any</code>", if the current <a href="#concept-fe-value" title="concept-fe-value">value</a> could not be parsed, or if @@ -32034,6 +32034,9 @@ these steps; otherwise, let <var title="">value</var> be the result of that algorithm.</li> + <li><p>Let <var title="">n</var> be the argument, or 1 if the + argument was omitted.</li> + <li><p>Let <var title="">delta</var> be the <a href="#concept-input-step" title="concept-input-step">allowed value step</a> multiplied by <var title="">n</var>.</li> @@ -70178,6 +70181,7 @@ Sam Weinig, Sander van Lambalgen, Sarven Capadisli, + Scott González, Scott Hess, Sean Fraser, Sean Hogan,
Received on Monday, 12 October 2009 00:59:56 UTC