OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 */ | 20 */ |
21 | 21 |
22 // https://html.spec.whatwg.org/#htmlinputelement | 22 // https://html.spec.whatwg.org/#the-input-element |
23 | 23 |
24 interface HTMLInputElement : HTMLElement { | 24 interface HTMLInputElement : HTMLElement { |
25 [Reflect] attribute DOMString accept; | 25 [Reflect] attribute DOMString accept; |
26 [Reflect] attribute DOMString alt; | 26 [Reflect] attribute DOMString alt; |
27 attribute DOMString autocapitalize; | |
28 [Reflect] attribute DOMString autocomplete; | 27 [Reflect] attribute DOMString autocomplete; |
29 [Reflect] attribute boolean autofocus; | 28 [Reflect] attribute boolean autofocus; |
30 [Reflect=checked] attribute boolean defaultChecked; | 29 [Reflect=checked] attribute boolean defaultChecked; |
31 attribute boolean checked; | 30 attribute boolean checked; |
32 [Reflect] attribute DOMString dirName; | 31 [Reflect] attribute DOMString dirName; |
33 [Reflect] attribute boolean disabled; | 32 [Reflect] attribute boolean disabled; |
34 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; | 33 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; |
35 // The 'files' attribute is intentionally not readonly. | 34 // The 'files' attribute is intentionally not readonly. |
36 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682 | 35 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682 |
37 attribute FileList? files; | 36 attribute FileList? files; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 [RaisesException, ImplementedAs=setSelectionRangeForBinding] | 93 [RaisesException, ImplementedAs=setSelectionRangeForBinding] |
95 void setSelectionRange([Default=Undefined] optional long start, | 94 void setSelectionRange([Default=Undefined] optional long start, |
96 [Default=Undefined] optional long end, | 95 [Default=Undefined] optional long end, |
97 optional DOMString direction); | 96 optional DOMString direction); |
98 | 97 |
99 // obsolete members | 98 // obsolete members |
100 // https://html.spec.whatwg.org/#HTMLInputElement-partial | 99 // https://html.spec.whatwg.org/#HTMLInputElement-partial |
101 [Reflect] attribute DOMString align; | 100 [Reflect] attribute DOMString align; |
102 [Reflect] attribute DOMString useMap; | 101 [Reflect] attribute DOMString useMap; |
103 | 102 |
| 103 // HTML autocapitalize proposal |
| 104 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal
.md |
| 105 attribute DOMString autocapitalize; |
| 106 |
104 // HTML Media Capture | 107 // HTML Media Capture |
105 // http://www.w3.org/TR/html-media-capture/ | 108 // http://www.w3.org/TR/html-media-capture/ |
106 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; | 109 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; |
107 | 110 |
108 // Non-standard APIs | 111 // Non-standard APIs |
109 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; | 112 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; |
110 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; | 113 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; |
111 }; | 114 }; |
OLD | NEW |