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) 2013 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2013 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 readonly attribute HTMLCollection selectedOptions; | 48 readonly attribute HTMLCollection selectedOptions; |
49 attribute long selectedIndex; | 49 attribute long selectedIndex; |
50 attribute DOMString value; | 50 attribute DOMString value; |
51 | 51 |
52 readonly attribute boolean willValidate; | 52 readonly attribute boolean willValidate; |
53 readonly attribute ValidityState validity; | 53 readonly attribute ValidityState validity; |
54 readonly attribute DOMString validationMessage; | 54 readonly attribute DOMString validationMessage; |
55 boolean checkValidity(); | 55 boolean checkValidity(); |
56 boolean reportValidity(); | 56 boolean reportValidity(); |
57 // TODO(philipj): The error argument should not be nullable. | 57 void setCustomValidity(DOMString error); |
58 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | |
59 | 58 |
60 readonly attribute NodeList labels; | 59 readonly attribute NodeList labels; |
61 }; | 60 }; |
OLD | NEW |