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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 [RaisesException=Setter, CustomElementCallbacks] attribute unrestricted doub
le valueAsNumber; | 66 [RaisesException=Setter, CustomElementCallbacks] attribute unrestricted doub
le valueAsNumber; |
67 | 67 |
68 [RaisesException, CustomElementCallbacks] void stepUp(optional long n = 1); | 68 [RaisesException, CustomElementCallbacks] void stepUp(optional long n = 1); |
69 [RaisesException, CustomElementCallbacks] void stepDown(optional long n = 1)
; | 69 [RaisesException, CustomElementCallbacks] void stepDown(optional long n = 1)
; |
70 | 70 |
71 [CustomElementCallbacks] attribute unsigned long width; | 71 [CustomElementCallbacks] attribute unsigned long width; |
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 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | 77 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); |
77 | 78 |
78 readonly attribute NodeList labels; | 79 readonly attribute NodeList labels; |
79 | 80 |
80 void select(); | 81 void select(); |
81 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel
ectionStart; | 82 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel
ectionStart; |
82 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec
tionEnd; | 83 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec
tionEnd; |
83 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS
tring selectionDirection; | 84 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS
tring selectionDirection; |
84 | 85 |
85 [RaisesException] void setRangeText(DOMString replacement); | 86 [RaisesException] void setRangeText(DOMString replacement); |
86 [RaisesException] void setRangeText(DOMString replacement, | 87 [RaisesException] void setRangeText(DOMString replacement, |
87 unsigned long start, | 88 unsigned long start, |
88 unsigned long end, | 89 unsigned long end, |
89 optional DOMString selectionMode = "preserve"); | 90 optional DOMString selectionMode = "preserve"); |
90 | 91 |
91 [RaisesException, ImplementedAs=setSelectionRangeForBinding] | 92 [RaisesException, ImplementedAs=setSelectionRangeForBinding] |
92 void setSelectionRange([Default=Undefined] optional long start, | 93 void setSelectionRange([Default=Undefined] optional long start, |
93 [Default=Undefined] optional long end, | 94 [Default=Undefined] optional long end, |
94 optional DOMString direction); | 95 optional DOMString direction); |
95 | 96 |
96 // Non-standard attributes | 97 // Non-standard attributes |
97 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; | 98 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; |
98 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; | 99 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; |
99 | 100 |
100 // See http://www.w3.org/TR/html-media-capture/ | 101 // See http://www.w3.org/TR/html-media-capture/ |
101 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; | 102 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; |
102 }; | 103 }; |
OLD | NEW |