diff --git a/dom/public/coreDom/MANIFEST b/dom/public/coreDom/MANIFEST index 7b9a9fdbff45..c4ba5a51b560 100644 --- a/dom/public/coreDom/MANIFEST +++ b/dom/public/coreDom/MANIFEST @@ -34,6 +34,7 @@ nsIDOMDocumentView.h nsIDOMElement.h nsIDOMEntity.h nsIDOMEntityReference.h +nsIDOMLinkStyle.h nsIDOMMediaList.h nsIDOMNotation.h nsIDOMNSDocument.h diff --git a/dom/public/coreDom/Makefile.in b/dom/public/coreDom/Makefile.in index ec4c51a4de6f..8cea0f9058ea 100644 --- a/dom/public/coreDom/Makefile.in +++ b/dom/public/coreDom/Makefile.in @@ -43,6 +43,7 @@ EXPORTS = \ nsIDOMElement.h \ nsIDOMEntity.h \ nsIDOMEntityReference.h \ + nsIDOMLinkStyle.h \ nsIDOMMediaList.h \ nsIDOMNotation.h \ nsIDOMNSDocument.h \ diff --git a/dom/public/coreDom/makefile.win b/dom/public/coreDom/makefile.win index 5909b144fc2a..97d8562c9739 100644 --- a/dom/public/coreDom/makefile.win +++ b/dom/public/coreDom/makefile.win @@ -38,6 +38,7 @@ EXPORTS = \ nsIDOMElement.h \ nsIDOMEntity.h \ nsIDOMEntityReference.h \ + nsIDOMLinkStyle.h \ nsIDOMMediaList.h \ nsIDOMNotation.h \ nsIDOMNSDocument.h \ diff --git a/dom/public/coreDom/nsIDOMLinkStyle.h b/dom/public/coreDom/nsIDOMLinkStyle.h new file mode 100644 index 000000000000..02daba433c15 --- /dev/null +++ b/dom/public/coreDom/nsIDOMLinkStyle.h @@ -0,0 +1,54 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * The contents of this file are subject to the Netscape Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ +/* AUTO-GENERATED. DO NOT EDIT!!! */ + +#ifndef nsIDOMLinkStyle_h__ +#define nsIDOMLinkStyle_h__ + +#include "nsISupports.h" +#include "nsString.h" +#include "nsIScriptContext.h" + +class nsIDOMStyleSheet; + +#define NS_IDOMLINKSTYLE_IID \ + { 0x24d89a65, 0xf598, 0x481e, \ + { 0xa2, 0x97, 0x23, 0xcc, 0x02, 0x59, 0x9b, 0xbd } } + +class nsIDOMLinkStyle : public nsISupports { +public: + static const nsIID& GetIID() { static nsIID iid = NS_IDOMLINKSTYLE_IID; return iid; } + + NS_IMETHOD GetSheet(nsIDOMStyleSheet** aSheet)=0; +}; + + +#define NS_DECL_IDOMLINKSTYLE \ + NS_IMETHOD GetSheet(nsIDOMStyleSheet** aSheet); \ + + + +#define NS_FORWARD_IDOMLINKSTYLE(_to) \ + NS_IMETHOD GetSheet(nsIDOMStyleSheet** aSheet) { return _to GetSheet(aSheet); } \ + + +#endif // nsIDOMLinkStyle_h__ diff --git a/dom/public/idl/coreDom/ProcessingInstruction.idl b/dom/public/idl/coreDom/ProcessingInstruction.idl index 3831284ff71d..5442b606ae07 100644 --- a/dom/public/idl/coreDom/ProcessingInstruction.idl +++ b/dom/public/idl/coreDom/ProcessingInstruction.idl @@ -1,8 +1,17 @@ - interface ProcessingInstruction : Node { +interface ProcessingInstruction : Node { /* IID: { 0xa6cf907f, 0x15b3, 0x11d2, \ { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */ - readonly attribute DOMString target; - attribute DOMString data; + readonly attribute DOMString target; + attribute DOMString data; // raises(DOMException) on setting - }; +}; + +// Introduced in DOM Level 2: +interface LinkStyle { + /* IID: { 0x24d89a65, 0xf598, 0x481e, \ + { 0xa2, 0x97, 0x23, 0xcc, 0x02, 0x59, 0x9b, 0xbd } } */ + + readonly attribute StyleSheet sheet; +}; +