Rubber-stamped by Brady Eidson.
[webbrowser.git] / WebCore / html / HTMLOptionElement.idl
blob612d4599a2105ab2967a1c164aa22605d127a551
1 /*
2 * Copyright (C) 2006, 2007 Apple, Inc.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
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.
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.
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.
21 module html {
23 interface [
24 GenerateConstructor,
25 GenerateNativeConverter,
26 InterfaceUUID=74a7b64a-cf18-4da9-b3aa-e1f4d245d607,
27 ImplementationUUID=166915d5-2c93-404b-b076-af3fa5ccbd83
28 ] HTMLOptionElement : HTMLElement {
29 readonly attribute HTMLFormElement form;
30 attribute boolean defaultSelected;
31 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
32 attribute [ConvertNullToNullString] DOMString text
33 setter raises(DOMException);
34 #else
35 readonly attribute DOMString text;
36 #endif
37 readonly attribute long index;
38 attribute boolean disabled;
39 attribute [ConvertNullToNullString] DOMString label;
40 attribute boolean selected;
41 attribute [ConvertNullToNullString] DOMString value;