Commit 8f897239 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added IHTMLTextAreaElement implementation.

parent 54cce2e7
......@@ -16,6 +16,7 @@ C_SRCS = \
htmlinput.c \
htmlnode.c \
htmlselect.c \
htmltextarea.c \
main.c \
navigate.c \
nsembed.c \
......
......@@ -924,6 +924,7 @@ void HTMLElement_Create(HTMLDOMNode *node)
static const WCHAR wszINPUT[] = {'I','N','P','U','T',0};
static const WCHAR wszSELECT[] = {'S','E','L','E','C','T',0};
static const WCHAR wszTEXTAREA[] = {'T','E','X','T','A','R','E','A',0};
ret = HeapAlloc(GetProcessHeap(), 0, sizeof(HTMLElement));
ret->lpHTMLElementVtbl = &HTMLElementVtbl;
......@@ -948,6 +949,8 @@ void HTMLElement_Create(HTMLDOMNode *node)
HTMLInputElement_Create(ret);
else if(!strcmpW(class_name, wszSELECT))
HTMLSelectElement_Create(ret);
else if(!strcmpW(class_name, wszTEXTAREA))
HTMLTextAreaElement_Create(ret);
nsAString_Finish(&class_name_str);
}
......
......@@ -214,6 +214,7 @@ IHlink *Hlink_Create(void);
void HTMLElement_Create(HTMLDOMNode*);
void HTMLInputElement_Create(HTMLElement*);
void HTMLSelectElement_Create(HTMLElement*);
void HTMLTextAreaElement_Create(HTMLElement*);
HTMLDOMNode *get_node(HTMLDocument*,nsIDOMNode*);
void release_nodes(HTMLDocument*);
......
......@@ -542,6 +542,37 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
[
object,
uuid(a6cf9094-15b3-11d2-932e-00805f8add32)
]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
nsresult GetDefaultValue(nsAString *aDefaultValue);
nsresult SetDefaultValue(const nsAString *aDefaultValue);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetAccessKey(nsAString *aAccessKey);
nsresult SetAccessKey(const nsAString *aAccessKey);
nsresult GetCols(PRInt32 *aCols);
nsresult SetCols(PRInt32 aCols);
nsresult GetDisabled(PRBool *aDisabled);
nsresult SetDisabled(PRBool aDisabled);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetReadOnly(PRBool *aReadOnly);
nsresult SetReadOnly(PRBool aReadOnly);
nsresult GetRows(PRInt32 *aRows);
nsresult SetRows(PRInt32 aRows);
nsresult GetTabIndex(PRInt32 *aTabIndex);
nsresult SetTabIndex(PRInt32 aTabIndex);
nsresult GetType(nsAString *aType);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult Blur();
nsresult Focus();
nsresult Select();
}
[
object,
uuid(94928ab3-8b63-11d3-989d-001083010e9b)
]
interface nsIURIContentListener : nsISupports
......
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