diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLTextAreaElement.idl | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/html/HTMLTextAreaElement.idl')
-rw-r--r-- | Source/WebCore/html/HTMLTextAreaElement.idl | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/Source/WebCore/html/HTMLTextAreaElement.idl b/Source/WebCore/html/HTMLTextAreaElement.idl index 9533d602c..f9b2db4c9 100644 --- a/Source/WebCore/html/HTMLTextAreaElement.idl +++ b/Source/WebCore/html/HTMLTextAreaElement.idl @@ -21,28 +21,30 @@ interface HTMLTextAreaElement : HTMLElement { [Reflect] attribute boolean autofocus; - attribute long cols; [Reflect] attribute DOMString dirName; [Reflect] attribute boolean disabled; readonly attribute HTMLFormElement form; - [SetterRaisesException] attribute long maxLength; + [SetterMayThrowException] attribute long minLength; + [SetterMayThrowException] attribute long maxLength; [Reflect] attribute DOMString name; [Reflect] attribute DOMString placeholder; [Reflect] attribute boolean readOnly; [Reflect] attribute boolean required; - attribute long rows; + attribute unsigned long rows; + attribute unsigned long cols; [Reflect] attribute DOMString wrap; readonly attribute DOMString type; - [TreatNullAs=NullString] attribute DOMString defaultValue; - [TreatNullAs=NullString] attribute DOMString value; + attribute DOMString defaultValue; + [TreatNullAs=EmptyString] attribute DOMString value; readonly attribute unsigned long textLength; readonly attribute boolean willValidate; readonly attribute ValidityState validity; readonly attribute DOMString validationMessage; boolean checkValidity(); - void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); + [EnabledAtRuntime=InteractiveFormValidation] boolean reportValidity(); + void setCustomValidity(DOMString error); readonly attribute NodeList labels; @@ -51,24 +53,10 @@ interface HTMLTextAreaElement : HTMLElement { attribute long selectionEnd; attribute DOMString selectionDirection; - [RaisesException] void setRangeText(DOMString replacement); - [RaisesException] void setRangeText(DOMString replacement, - unsigned long start, - unsigned long end, - [Default=NullString] optional DOMString selectionMode); + [MayThrowException] void setRangeText(DOMString replacement); + [MayThrowException] void setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional DOMString selectionMode); -#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C - void setSelectionRange(long start, long end); -#else - void setSelectionRange([Default=Undefined] optional long start, - [Default=Undefined] optional long end, - optional DOMString direction); -#endif + void setSelectionRange(optional long start = 0, optional long end = 0, optional DOMString direction); - [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE] attribute boolean autocorrect; - [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE, TreatNullAs=NullString] attribute DOMString autocapitalize; - -#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C - [Reflect] attribute DOMString accessKey; -#endif + attribute DOMString autocomplete; }; |