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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 */ | 18 */ |
19 | 19 |
| 20 // https://html.spec.whatwg.org/#htmlfieldsetelement |
| 21 |
20 interface HTMLFieldSetElement : HTMLElement { | 22 interface HTMLFieldSetElement : HTMLElement { |
21 [Reflect] attribute boolean disabled; | 23 [Reflect] attribute boolean disabled; |
22 [ImplementedAs=formOwner] readonly attribute HTMLFormElement form; | 24 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; |
23 [Reflect] attribute DOMString name; | 25 [Reflect] attribute DOMString name; |
24 | 26 |
25 readonly attribute DOMString type; | 27 readonly attribute DOMString type; |
26 | 28 |
27 readonly attribute HTMLCollection elements; | 29 readonly attribute HTMLFormControlsCollection elements; |
28 | 30 |
29 readonly attribute boolean willValidate; | 31 readonly attribute boolean willValidate; |
30 readonly attribute ValidityState validity; | 32 readonly attribute ValidityState validity; |
31 readonly attribute DOMString validationMessage; | 33 readonly attribute DOMString validationMessage; |
32 boolean checkValidity(); | 34 boolean checkValidity(); |
33 boolean reportValidity(); | 35 boolean reportValidity(); |
34 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); | 36 // FIXME: The error argument should not be nullable. |
| 37 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); |
35 }; | 38 }; |
OLD | NEW |