Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Unified Diff: Source/core/html/HTMLInputElement.idl

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.idl
diff --git a/Source/core/html/HTMLInputElement.idl b/Source/core/html/HTMLInputElement.idl
index 61a1ff60fa3d42fef94bb430e1ac34d414649f0e..2a81355ec578b8ed73547bab0e9e3c1c34187d85 100644
--- a/Source/core/html/HTMLInputElement.idl
+++ b/Source/core/html/HTMLInputElement.idl
@@ -64,8 +64,8 @@ interface HTMLInputElement : HTMLElement {
[RaisesException=Setter, CustomElementCallbacks] attribute Date? valueAsDate;
[RaisesException=Setter, CustomElementCallbacks] attribute unrestricted double valueAsNumber;
- [RaisesException, CustomElementCallbacks] void stepUp(optional long n);
- [RaisesException, CustomElementCallbacks] void stepDown(optional long n);
+ [RaisesException, CustomElementCallbacks] void stepUp(optional long n = 1);
+ [RaisesException, CustomElementCallbacks] void stepDown(optional long n = 1);
[CustomElementCallbacks] attribute unsigned long width;
readonly attribute boolean willValidate;
@@ -88,8 +88,8 @@ interface HTMLInputElement : HTMLElement {
optional DOMString selectionMode = null);
[RaisesException, ImplementedAs=setSelectionRangeForBinding]
- void setSelectionRange([Default=Undefined] optional long start,
- [Default=Undefined] optional long end,
+ void setSelectionRange(optional long start,
+ optional long end,
optional DOMString direction);
// Non-standard attributes
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698