mshtml: Initialize HTMLAttributeCollection object with compat mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
872ff6502d
commit
78be56291a
|
@ -7196,8 +7196,8 @@ HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **a
|
||||||
|
|
||||||
This->attrs->elem = This;
|
This->attrs->elem = This;
|
||||||
list_init(&This->attrs->attrs);
|
list_init(&This->attrs->attrs);
|
||||||
init_dispex(&This->attrs->dispex, (IUnknown*)&This->attrs->IHTMLAttributeCollection_iface,
|
init_dispex_with_compat_mode(&This->attrs->dispex, (IUnknown*)&This->attrs->IHTMLAttributeCollection_iface,
|
||||||
&HTMLAttributeCollection_dispex);
|
&HTMLAttributeCollection_dispex, dispex_compat_mode(&iface->event_target.dispex));
|
||||||
|
|
||||||
*ac = This->attrs;
|
*ac = This->attrs;
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue