• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2006, 2007, 2009 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
21module html {
22
23    interface [
24        DelegatingPutFunction,
25        DelegatingGetOwnPropertySlot,
26        CustomCall,
27        HasOverridingNameGetter
28    ] HTMLObjectElement : HTMLElement {
29        readonly attribute HTMLFormElement form;
30                 attribute [ConvertNullToNullString, Reflect] DOMString       code;
31                 attribute [ConvertNullToNullString, Reflect] DOMString       align;
32                 attribute [ConvertNullToNullString, Reflect] DOMString       archive;
33                 attribute [ConvertNullToNullString, Reflect] DOMString       border;
34                 attribute [ConvertNullToNullString, Reflect=codebase] DOMString       codeBase;
35                 attribute [ConvertNullToNullString, Reflect=codetype] DOMString       codeType;
36                 attribute [ConvertNullToNullString, ReflectURL] DOMString       data;
37                 attribute boolean         declare;
38                 attribute [ConvertNullToNullString, Reflect] DOMString       height;
39                 attribute long            hspace;
40                 attribute [ConvertNullToNullString, Reflect] DOMString       name;
41                 attribute [ConvertNullToNullString, Reflect] DOMString       standby;
42                 attribute [ConvertNullToNullString, Reflect] DOMString       type;
43                 attribute [ConvertNullToNullString, Reflect=usemap] DOMString       useMap;
44                 attribute long            vspace;
45                 attribute [ConvertNullToNullString, Reflect] DOMString       width;
46        readonly attribute boolean         willValidate;
47
48        // Introduced in DOM Level 2:
49        readonly attribute [CheckFrameSecurity] Document        contentDocument;
50
51#if defined(ENABLE_SVG) && ENABLE_SVG
52#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C || defined(ENABLE_SVG_DOM_OBJC_BINDINGS) && ENABLE_SVG_DOM_OBJC_BINDINGS
53        [SVGCheckSecurityDocument] SVGDocument getSVGDocument()
54            raises(DOMException);
55#endif
56#endif
57
58#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
59        // Objective-C extension:
60        readonly attribute URL             absoluteImageURL;
61#endif
62    };
63
64}
65