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