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 * |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 readonly attribute boolean willValidate; | 72 readonly attribute boolean willValidate; |
73 readonly attribute ValidityState validity; | 73 readonly attribute ValidityState validity; |
74 readonly attribute DOMString validationMessage; | 74 readonly attribute DOMString validationMessage; |
75 boolean checkValidity(); | 75 boolean checkValidity(); |
76 boolean reportValidity(); | 76 boolean reportValidity(); |
77 void setCustomValidity(DOMString error); | 77 void setCustomValidity(DOMString error); |
78 | 78 |
79 readonly attribute NodeList labels; | 79 readonly attribute NodeList labels; |
80 | 80 |
81 void select(); | 81 void select(); |
82 [RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned
long selectionStart; | 82 [RaisesException, ImplementedAs=selectionStartForBinding] attribute unsigned
long? selectionStart; |
83 [RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned l
ong selectionEnd; | 83 [RaisesException, ImplementedAs=selectionEndForBinding] attribute unsigned l
ong? selectionEnd; |
84 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS
tring selectionDirection; | 84 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS
tring? selectionDirection; |
85 [RaisesException] void setRangeText(DOMString replacement); | 85 [RaisesException] void setRangeText(DOMString replacement); |
86 [RaisesException] void setRangeText(DOMString replacement, | 86 [RaisesException] void setRangeText(DOMString replacement, |
87 unsigned long start, | 87 unsigned long start, |
88 unsigned long end, | 88 unsigned long end, |
89 optional SelectionMode selectionMode = "
preserve"); | 89 optional SelectionMode selectionMode = "
preserve"); |
90 [RaisesException, ImplementedAs=setSelectionRangeForBinding] | 90 [RaisesException, ImplementedAs=setSelectionRangeForBinding] |
91 void setSelectionRange(unsigned long start, | 91 void setSelectionRange(unsigned long start, |
92 unsigned long end, | 92 unsigned long end, |
93 optional DOMString direction); | 93 optional DOMString direction); |
94 | 94 |
95 // obsolete members | 95 // obsolete members |
96 // https://html.spec.whatwg.org/#HTMLInputElement-partial | 96 // https://html.spec.whatwg.org/#HTMLInputElement-partial |
97 [CEReactions, Reflect] attribute DOMString align; | 97 [CEReactions, Reflect] attribute DOMString align; |
98 [CEReactions, Reflect] attribute DOMString useMap; | 98 [CEReactions, Reflect] attribute DOMString useMap; |
99 | 99 |
100 // HTML autocapitalize proposal | 100 // HTML autocapitalize proposal |
101 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal
.md | 101 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal
.md |
102 [Measure] attribute DOMString autocapitalize; | 102 [Measure] attribute DOMString autocapitalize; |
103 | 103 |
104 // HTML Media Capture | 104 // HTML Media Capture |
105 // http://www.w3.org/TR/html-media-capture/ | 105 // http://www.w3.org/TR/html-media-capture/ |
106 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; | 106 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; |
107 | 107 |
108 // Non-standard APIs | 108 // Non-standard APIs |
109 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; | 109 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; |
110 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; | 110 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; |
111 }; | 111 }; |
OLD | NEW |