diff --git a/include/mshtmdid.h b/include/mshtmdid.h index c6dc2e7fc45..2dad6fbca12 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -2078,6 +2078,12 @@ #define DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES DISPID_DOMATTRIBUTE+19 #define DISPID_IHTMLDOMATTRIBUTE2_CLONENODE DISPID_DOMATTRIBUTE+20 +/* IHTMLDOMAttribute3 */ +#define DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE DISPID_IE8_ATTR+3 +#define DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE DISPID_IE8_ATTR+4 +#define DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED DISPID_IE8_ATTR +#define DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT DISPID_IE8_ATTR+1 + /* IHTMLDocumentCompatibleInfo */ #define DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_USERAGENT DISPID_DOCUMENTCOMPATIBLEINFO #define DISPID_IHTMLDOCUMENTCOMPATIBLEINFO_VERSION DISPID_DOCUMENTCOMPATIBLEINFO+1 diff --git a/include/mshtml.idl b/include/mshtml.idl index f7dde54715d..c2e0874ecc7 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -126,6 +126,7 @@ interface IHTMLDOMConstructor : IDispatch IDispatch *constructor() interface IHTMLDocument2; +interface IHTMLElement2; interface IHTMLStyleSheetsCollection; interface IHTMLFrameBase; @@ -3685,6 +3686,111 @@ interface IHTMLDOMImplementation : IDispatch [retval, out] VARIANT_BOOL *pfHasFeature); } +/***************************************************************************** + * DispHTMLDOMAttribute dispinterface + */ +[ + hidden, + uuid(3050f564-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLDOMAttribute +{ + properties: + methods: + [propget, id(DISPID_IHTMLDOMATTRIBUTE_NODENAME)] + BSTR nodeName(); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE_NODEVALUE)] + void nodeValue(VARIANT v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE_NODEVALUE)] + VARIANT nodeValue(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE_SPECIFIED)] + VARIANT_BOOL specified(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NAME)] + BSTR name(); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE2_VALUE)] + void value(BSTR v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_VALUE)] + BSTR value(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_EXPANDO)] + VARIANT_BOOL expando(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NODETYPE)] + long nodeType(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_PARENTNODE)] + IHTMLDOMNode *parentNode(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_CHILDNODES)] + IDispatch *childNodes(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_FIRSTCHILD)] + IHTMLDOMNode *firstChild(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_LASTCHILD)] + IHTMLDOMNode *lastChild(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_PREVIOUSSIBLING)] + IHTMLDOMNode *previousSibling(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_NEXTSIBLING)] + IHTMLDOMNode *nextSibling(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_ATTRIBUTES)] + IDispatch *attributes(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE2_OWNERDOCUMENT)] + IDispatch *ownerDocument(); + + [id(DISPID_IHTMLDOMATTRIBUTE2_INSERTBEFORE)] + IHTMLDOMNode *insertBefore( + [in] IHTMLDOMNode *newChild, + [optional, in] VARIANT refChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_REPLACECHILD)] + IHTMLDOMNode *replaceChild( + [in] IHTMLDOMNode *newChild, + [in] IHTMLDOMNode *oldChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_REMOVECHILD)] + IHTMLDOMNode *removeChild([in] IHTMLDOMNode *oldChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_APPENDCHILD)] + IHTMLDOMNode *appendChild([in] IHTMLDOMNode *newChild); + + [id(DISPID_IHTMLDOMATTRIBUTE2_HASCHILDNODES)] + VARIANT_BOOL hasChildNodes(); + + [id(DISPID_IHTMLDOMATTRIBUTE2_CLONENODE)] + IHTMLDOMAttribute *cloneNode([in] VARIANT_BOOL fDeep); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE)] + void ie8_nodeValue(VARIANT v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_NODEVALUE)] + VARIANT ie8_nodeValue(); + + [propput, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE)] + void ie8_value(BSTR v); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_VALUE)] + BSTR ie8_value(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_IE8_SPECIFIED)] + VARIANT_BOOL ie8_specified(); + + [propget, id(DISPID_IHTMLDOMATTRIBUTE3_OWNERELEMENT)] + IHTMLElement2 *ownerElement(); + + WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL; +} + /***************************************************************************** * IHTMLDocumentCompatibleInfo interface */