Rubber-stamped by Brady Eidson.
[webbrowser.git] / WebCore / html / HTMLObjectElement.idl
blobb51c568215251fc2ac20304a97eba4ec2321ff07
1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
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 DelegatingPutFunction,
26 DelegatingGetOwnPropertySlot,
27 CustomCall,
28 HasOverridingNameGetter,
29 InterfaceUUID=9d04a3b8-9016-4b64-913a-3b00d548aca7,
30 ImplementationUUID=2dd24554-6784-4ef9-9713-179f3d37b2f9
31 ] HTMLObjectElement : HTMLElement {
32 readonly attribute HTMLFormElement form;
33 attribute [ConvertNullToNullString, Reflect] DOMString code;
34 attribute [ConvertNullToNullString, Reflect] DOMString align;
35 attribute [ConvertNullToNullString, Reflect] DOMString archive;
36 attribute [ConvertNullToNullString, Reflect] DOMString border;
37 attribute [ConvertNullToNullString, Reflect=codebase] DOMString codeBase;
38 attribute [ConvertNullToNullString, Reflect=codetype] DOMString codeType;
39 attribute [ConvertNullToNullString, ReflectURL] DOMString data;
40 attribute boolean declare;
41 attribute [ConvertNullToNullString, Reflect] DOMString height;
42 attribute long hspace;
43 attribute [ConvertNullToNullString, Reflect] DOMString name;
44 attribute [ConvertNullToNullString, Reflect] DOMString standby;
45 attribute [ConvertNullToNullString, Reflect] DOMString type;
46 attribute [ConvertNullToNullString, Reflect=usemap] DOMString useMap;
47 attribute long vspace;
48 attribute [ConvertNullToNullString, Reflect] DOMString width;
49 readonly attribute boolean willValidate;
51 // Introduced in DOM Level 2:
52 readonly attribute [CheckFrameSecurity] Document contentDocument;
54 #if !defined(LANGUAGE_COM) || !LANGUAGE_COM
55 #if defined(ENABLE_SVG) && ENABLE_SVG
56 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C || defined(ENABLE_SVG_DOM_OBJC_BINDINGS) && ENABLE_SVG_DOM_OBJC_BINDINGS
57 [SVGCheckSecurityDocument] SVGDocument getSVGDocument()
58 raises(DOMException);
59 #endif
60 #endif
61 #endif
63 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
64 // Objective-C extension:
65 readonly attribute URL absoluteImageURL;
66 #endif