OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 readonly attribute DOMString type; | 27 readonly attribute DOMString type; |
28 | 28 |
29 readonly attribute HTMLFormControlsCollection elements; | 29 readonly attribute HTMLFormControlsCollection elements; |
30 | 30 |
31 readonly attribute boolean willValidate; | 31 readonly attribute boolean willValidate; |
32 [SameObject] readonly attribute ValidityState validity; | 32 [SameObject] readonly attribute ValidityState validity; |
33 readonly attribute DOMString validationMessage; | 33 readonly attribute DOMString validationMessage; |
34 boolean checkValidity(); | 34 boolean checkValidity(); |
35 boolean reportValidity(); | 35 boolean reportValidity(); |
36 // FIXME: The error argument should not be nullable. | 36 void setCustomValidity(DOMString error); |
37 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | |
38 }; | 37 }; |
OLD | NEW |