Commit 5b1af5b7 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added get_style implementation.

parent 1447e6f6
...@@ -19,6 +19,7 @@ C_SRCS = \ ...@@ -19,6 +19,7 @@ C_SRCS = \
htmlinput.c \ htmlinput.c \
htmlnode.c \ htmlnode.c \
htmlselect.c \ htmlselect.c \
htmlstyle.c \
htmltextcont.c \ htmltextcont.c \
htmltextarea.c \ htmltextarea.c \
install.c \ install.c \
......
...@@ -243,8 +243,12 @@ static HRESULT WINAPI HTMLElement_get_parentElement(IHTMLElement *iface, IHTMLEl ...@@ -243,8 +243,12 @@ static HRESULT WINAPI HTMLElement_get_parentElement(IHTMLElement *iface, IHTMLEl
static HRESULT WINAPI HTMLElement_get_style(IHTMLElement *iface, IHTMLStyle **p) static HRESULT WINAPI HTMLElement_get_style(IHTMLElement *iface, IHTMLStyle **p)
{ {
HTMLElement *This = HTMLELEM_THIS(iface); HTMLElement *This = HTMLELEM_THIS(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL; TRACE("(%p)->(%p)\n", This, p);
/* FIXME: Store IHTMLStyle instead of creating a new instance in every call. */
*p = HTMLStyle_Create();
return S_OK;
} }
static HRESULT WINAPI HTMLElement_put_onhelp(IHTMLElement *iface, VARIANT v) static HRESULT WINAPI HTMLElement_put_onhelp(IHTMLElement *iface, VARIANT v)
......
...@@ -329,6 +329,7 @@ void set_document_bscallback(HTMLDocument*,BSCallback*); ...@@ -329,6 +329,7 @@ void set_document_bscallback(HTMLDocument*,BSCallback*);
IHlink *Hlink_Create(void); IHlink *Hlink_Create(void);
IHTMLSelectionObject *HTMLSelectionObject_Create(nsISelection*); IHTMLSelectionObject *HTMLSelectionObject_Create(nsISelection*);
IHTMLTxtRange *HTMLTxtRange_Create(nsISelection*); IHTMLTxtRange *HTMLTxtRange_Create(nsISelection*);
IHTMLStyle *HTMLStyle_Create(void);
void HTMLElement_Create(HTMLDOMNode*); void HTMLElement_Create(HTMLDOMNode*);
void HTMLBodyElement_Create(HTMLElement*); void HTMLBodyElement_Create(HTMLElement*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment