Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1020)

Side by Side Diff: third_party/WebCore/html/HTMLSelectElement.idl

Issue 9958151: Update script to fetch new WebCore IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21 module html {
22
23 interface [
24 IndexedGetter,
25 CustomIndexedSetter
26 ] HTMLSelectElement : HTMLElement {
27 attribute [Reflect] boolean autofocus;
28 attribute [Reflect] boolean disabled;
29 readonly attribute HTMLFormElement form;
30 attribute boolean multiple;
31 attribute [TreatNullAs=NullString] DOMString name;
32 attribute [Reflect] boolean required;
33 attribute long size;
34
35 readonly attribute DOMString type;
36
37 readonly attribute HTMLOptionsCollection options;
38 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
39 // DOM Level 2 changes type of length attribute to unsigned long,
40 // for compatibility we keep DOM Level 1 definition.
41 readonly attribute long length;
42 #else
43 attribute unsigned long length setter raises (DOMException);
44 #endif
45 Node item(in [IsIndex,Optional=DefaultIsUndefined] unsigned long index);
46 Node namedItem(in [Optional=DefaultIsUndefined] DOMString name);
47 [ObjCLegacyUnnamedParameters] void add(in [Optional=DefaultIsUndefined] HTMLElement element,
48 in [Optional=DefaultIsUndefined] HTMLElement bef ore) raises(DOMException);
49 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
50 // In JavaScript, we support both option index and option object paramet ers.
51 // As of this writing this cannot be auto-generated.
52 [Custom] void remove(in long index);
53 [Custom] void remove(in HTMLOptionElement option);
54 #else
55 void remove(in long index);
56 #endif
57 readonly attribute HTMLCollection selectedOptions;
58 attribute long selectedIndex;
59 attribute [TreatNullAs=NullString] DOMString value;
60
61 readonly attribute boolean willValidate;
62 readonly attribute ValidityState validity;
63 readonly attribute DOMString validationMessage;
64 boolean checkValidity();
65 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=Null String] DOMString error);
66
67 readonly attribute NodeList labels;
68 };
69 }
OLDNEW
« no previous file with comments | « third_party/WebCore/html/HTMLScriptElement.idl ('k') | third_party/WebCore/html/HTMLSourceElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698