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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 21 matching lines...) Expand all Loading... |
32 [Reflect] attribute DOMString name; | 32 [Reflect] attribute DOMString name; |
33 attribute DOMString type; | 33 attribute DOMString type; |
34 [Reflect] attribute DOMString value; | 34 [Reflect] attribute DOMString value; |
35 // FIXME: attribute HTMLMenuElement? menu; | 35 // FIXME: attribute HTMLMenuElement? menu; |
36 | 36 |
37 readonly attribute boolean willValidate; | 37 readonly attribute boolean willValidate; |
38 readonly attribute ValidityState validity; | 38 readonly attribute ValidityState validity; |
39 readonly attribute DOMString validationMessage; | 39 readonly attribute DOMString validationMessage; |
40 boolean checkValidity(); | 40 boolean checkValidity(); |
41 boolean reportValidity(); | 41 boolean reportValidity(); |
42 // FIXME: The error argument should not be nullable. | 42 void setCustomValidity(DOMString error); |
43 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | |
44 | 43 |
45 readonly attribute NodeList labels; | 44 readonly attribute NodeList labels; |
46 }; | 45 }; |
OLD | NEW |