Commit bb90785a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added IHTMLAnchorElement stub implementation.

parent 1ab3dbd5
......@@ -12,6 +12,7 @@ C_SRCS = \
conpoint.c \
editor.c \
hlink.c \
htmlanchor.c \
htmlbody.c \
htmldoc.c \
htmldoc3.c \
......
......@@ -1274,6 +1274,7 @@ void HTMLElement_Create(HTMLDOMNode *node)
const PRUnichar *class_name;
nsresult nsres;
static const WCHAR wszA[] = {'A',0};
static const WCHAR wszBODY[] = {'B','O','D','Y',0};
static const WCHAR wszINPUT[] = {'I','N','P','U','T',0};
static const WCHAR wszSELECT[] = {'S','E','L','E','C','T',0};
......@@ -1300,7 +1301,9 @@ void HTMLElement_Create(HTMLDOMNode *node)
nsAString_GetData(&class_name_str, &class_name, NULL);
if(!strcmpW(class_name, wszBODY))
if(!strcmpW(class_name, wszA))
HTMLAnchorElement_Create(ret);
else if(!strcmpW(class_name, wszBODY))
HTMLBodyElement_Create(ret);
else if(!strcmpW(class_name, wszINPUT))
HTMLInputElement_Create(ret);
......
......@@ -415,6 +415,7 @@ void detach_selection(HTMLDocument*);
void detach_ranges(HTMLDocument*);
void HTMLElement_Create(HTMLDOMNode*);
void HTMLAnchorElement_Create(HTMLElement*);
void HTMLBodyElement_Create(HTMLElement*);
void HTMLInputElement_Create(HTMLElement*);
void HTMLSelectElement_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