summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLInputElement.idl
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2016-08-25 19:20:41 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2017-02-02 12:30:55 +0000
commit6882a04fb36642862b11efe514251d32070c3d65 (patch)
treeb7959826000b061fd5ccc7512035c7478742f7b0 /Source/WebCore/html/HTMLInputElement.idl
parentab6df191029eeeb0b0f16f127d553265659f739e (diff)
downloadqtwebkit-6882a04fb36642862b11efe514251d32070c3d65.tar.gz
Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443)
Change-Id: I3b1d8a2808782c9f34d50240000e20cb38d3680f Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/WebCore/html/HTMLInputElement.idl')
-rw-r--r--Source/WebCore/html/HTMLInputElement.idl25
1 files changed, 11 insertions, 14 deletions
diff --git a/Source/WebCore/html/HTMLInputElement.idl b/Source/WebCore/html/HTMLInputElement.idl
index 727bf693a..6e86cdbd1 100644
--- a/Source/WebCore/html/HTMLInputElement.idl
+++ b/Source/WebCore/html/HTMLInputElement.idl
@@ -22,7 +22,7 @@
interface HTMLInputElement : HTMLElement {
[Reflect] attribute DOMString accept;
[Reflect] attribute DOMString alt;
- [Reflect] attribute DOMString autocomplete;
+ attribute DOMString autocomplete;
[Reflect] attribute boolean autofocus;
[Reflect=checked] attribute boolean defaultChecked;
attribute boolean checked;
@@ -30,7 +30,7 @@ interface HTMLInputElement : HTMLElement {
[Reflect] attribute boolean disabled;
readonly attribute HTMLFormElement form;
attribute FileList files;
- [Reflect, URL] attribute DOMString formAction;
+ attribute DOMString formAction;
[TreatNullAs=NullString] attribute DOMString formEnctype;
[TreatNullAs=NullString] attribute DOMString formMethod;
[Reflect] attribute boolean formNoValidate;
@@ -54,21 +54,19 @@ interface HTMLInputElement : HTMLElement {
#endif
[Reflect, URL] attribute DOMString src;
[Reflect] attribute DOMString step;
- [TreatNullAs=NullString] attribute DOMString type; // readonly dropped as part of DOM level 2
- [TreatNullAs=NullString] attribute DOMString defaultValue;
+ attribute DOMString type; // readonly dropped as part of DOM level 2
+ attribute DOMString defaultValue;
// See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
[TreatNullAs=NullString, SetterRaisesException] attribute DOMString value;
#else
[TreatNullAs=NullString] attribute DOMString value;
#endif
-#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
[SetterRaisesException] attribute Date valueAsDate;
-#endif
- [SetterRaisesException] attribute double valueAsNumber;
+ [SetterRaisesException] attribute unrestricted double valueAsNumber;
- [RaisesException] void stepUp(optional long n);
- [RaisesException] void stepDown(optional long n);
+ [RaisesException] void stepUp(optional long n = 1);
+ [RaisesException] void stepDown(optional long n = 1);
attribute unsigned long width;
readonly attribute boolean willValidate;
@@ -100,12 +98,8 @@ interface HTMLInputElement : HTMLElement {
// Non-standard attributes
[Reflect] attribute DOMString align;
- [Conditional=DIRECTORY_UPLOAD, Reflect] attribute boolean webkitdirectory;
[Reflect] attribute DOMString useMap;
[Reflect] attribute boolean incremental;
- [Conditional=INPUT_SPEECH, Reflect] attribute boolean webkitSpeech;
- [Conditional=INPUT_SPEECH, Reflect] attribute boolean webkitGrammar;
- [Conditional=INPUT_SPEECH, NotEnumerable] attribute EventListener onwebkitspeechchange;
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
[Reflect] attribute DOMString accessKey;
@@ -125,6 +119,9 @@ interface HTMLInputElement : HTMLElement {
readonly attribute URL absoluteImageURL;
#endif
+ [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE] attribute boolean autocorrect;
+ [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE, TreatNullAs=NullString] attribute DOMString autocapitalize;
+
// See http://www.w3.org/TR/html-media-capture/
- [Conditional=MEDIA_CAPTURE] attribute DOMString capture;
+ [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture;
};