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 GenerateConstructor, 25 InterfaceUUID=0c74cef8-b1f7-4b44-83a9-8deeb376a257, 26 ImplementationUUID=30f797d5-d145-498e-a126-d8e9ddeedea3 27 ] HTMLAnchorElement : HTMLElement { 28 attribute [ConvertNullToNullString, Reflect=accesskey] DOMString accessKey; 29 attribute [ConvertNullToNullString, Reflect] DOMString charset; 30 attribute [ConvertNullToNullString, Reflect] DOMString coords; 31 attribute [ConvertNullToNullString, ReflectURL] DOMString href; 32 attribute [ConvertNullToNullString, Reflect] DOMString hreflang; 33 attribute [ConvertNullToNullString, Reflect] DOMString name; 34 attribute [ConvertNullToNullString, Reflect] DOMString rel; 35 attribute [ConvertNullToNullString, Reflect] DOMString rev; 36 attribute [ConvertNullToNullString, Reflect] DOMString shape; 37 attribute [ConvertNullToNullString, Reflect] DOMString target; 38 attribute [ConvertNullToNullString, Reflect] DOMString type; 39 40 // IE Extensions 41 readonly attribute DOMString hash; 42 readonly attribute DOMString host; 43 readonly attribute DOMString hostname; 44 readonly attribute DOMString pathname; 45 readonly attribute DOMString port; 46 readonly attribute DOMString protocol; 47 readonly attribute DOMString search; 48 readonly attribute DOMString text; 49 50#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 51 [DontEnum] DOMString toString(); 52#endif 53 54#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C 55 // Objective-C extension: 56 readonly attribute URL absoluteLinkURL; 57#endif 58 }; 59 60} 61