mshtml: Store Gecko element both as nsIDOMElement and nsIDOMHTMLElement in HTMLElement.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
354fa7eb79
commit
54a746f155
|
@ -5463,7 +5463,9 @@ void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElemen
|
|||
|
||||
/* No AddRef, share reference with HTMLDOMNode */
|
||||
assert((nsIDOMNode*)nselem == This->node.nsnode);
|
||||
This->nselem = nselem;
|
||||
This->dom_element = (nsIDOMElement*)nselem;
|
||||
This->html_element = nselem;
|
||||
This->nselem = This->html_element;
|
||||
}
|
||||
|
||||
ConnectionPointContainer_Init(&This->cp_container, (IUnknown*)&This->IHTMLElement_iface, This->node.vtbl->cpc_entries);
|
||||
|
|
|
@ -780,6 +780,8 @@ typedef struct {
|
|||
IProvideMultipleClassInfo IProvideMultipleClassInfo_iface;
|
||||
|
||||
nsIDOMHTMLElement *nselem;
|
||||
nsIDOMElement *dom_element;
|
||||
nsIDOMHTMLElement *html_element;
|
||||
HTMLStyle *style;
|
||||
HTMLStyle *runtime_style;
|
||||
HTMLAttributeCollection *attrs;
|
||||
|
|
Loading…
Reference in New Issue