OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 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 CustomNamedSetter, |
| 25 JSCustomGetOwnPropertySlotAndDescriptor, |
| 26 CustomCall |
| 27 ] HTMLObjectElement : HTMLElement { |
| 28 readonly attribute HTMLFormElement form; |
| 29 attribute [Reflect] DOMString code; |
| 30 attribute [Reflect] DOMString align; |
| 31 attribute [Reflect] DOMString archive; |
| 32 attribute [Reflect] DOMString border; |
| 33 attribute [Reflect] DOMString codeBase; |
| 34 attribute [Reflect] DOMString codeType; |
| 35 attribute [Reflect, URL] DOMString data; |
| 36 attribute [Reflect] boolean declare; |
| 37 attribute [Reflect] DOMString height; |
| 38 attribute [Reflect] long hspace; |
| 39 attribute [Reflect] DOMString name; |
| 40 attribute [Reflect] DOMString standby; |
| 41 attribute [Reflect] DOMString type; |
| 42 attribute [Reflect] DOMString useMap; |
| 43 attribute [Reflect] long vspace; |
| 44 attribute [Reflect] DOMString width; |
| 45 readonly attribute boolean willValidate; |
| 46 readonly attribute ValidityState validity; |
| 47 readonly attribute DOMString validationMessage; |
| 48 boolean checkValidity(); |
| 49 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=Null
String] DOMString error); |
| 50 |
| 51 // Introduced in DOM Level 2: |
| 52 readonly attribute [CheckSecurityForNode] Document contentDocument; |
| 53 |
| 54 #if defined(ENABLE_SVG) && ENABLE_SVG |
| 55 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C || defined(ENABLE_SV
G_DOM_OBJC_BINDINGS) && ENABLE_SVG_DOM_OBJC_BINDINGS |
| 56 [CheckSecurityForNode] SVGDocument getSVGDocument() raises(DOMException)
; |
| 57 #endif |
| 58 #endif |
| 59 |
| 60 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 61 // Objective-C extension: |
| 62 readonly attribute URL absoluteImageURL; |
| 63 #endif |
| 64 }; |
| 65 |
| 66 } |
OLD | NEW |