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 [CustomElementCallbacks] attribute unsigned long width; | 66 [CustomElementCallbacks] attribute unsigned long width; |
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 readonly attribute boolean willValidate; | 71 readonly attribute boolean willValidate; |
72 readonly attribute ValidityState validity; | 72 readonly attribute ValidityState validity; |
73 readonly attribute DOMString validationMessage; | 73 readonly attribute DOMString validationMessage; |
74 boolean checkValidity(); | 74 boolean checkValidity(); |
75 boolean reportValidity(); | 75 boolean reportValidity(); |
76 // FIXME: The error argument should not be nullable. | 76 void setCustomValidity(DOMString error); |
77 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | |
78 | 77 |
79 readonly attribute NodeList labels; | 78 readonly attribute NodeList labels; |
80 | 79 |
81 void select(); | 80 void select(); |
82 // FIXME: selectionStart and selectionEnd should be unsigned long. | 81 // FIXME: selectionStart and selectionEnd should be unsigned long. |
83 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel
ectionStart; | 82 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel
ectionStart; |
84 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec
tionEnd; | 83 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec
tionEnd; |
85 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS
tring selectionDirection; | 84 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS
tring selectionDirection; |
86 [RaisesException] void setRangeText(DOMString replacement); | 85 [RaisesException] void setRangeText(DOMString replacement); |
87 // FIXME: The selectionMode argument should be a SelectionMode enum. | 86 // FIXME: The selectionMode argument should be a SelectionMode enum. |
(...skipping 17 matching lines...) Expand all Loading... |
105 [Measure] attribute DOMString autocapitalize; | 104 [Measure] attribute DOMString autocapitalize; |
106 | 105 |
107 // HTML Media Capture | 106 // HTML Media Capture |
108 // http://www.w3.org/TR/html-media-capture/ | 107 // http://www.w3.org/TR/html-media-capture/ |
109 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; | 108 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; |
110 | 109 |
111 // Non-standard APIs | 110 // Non-standard APIs |
112 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; | 111 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire
ctory; |
113 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; | 112 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; |
114 }; | 113 }; |
OLD | NEW |