mshtml: Initialize HTMLRectCollection 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
d6fcfe241c
commit
872ff6502d
|
@ -2670,7 +2670,8 @@ static HRESULT WINAPI HTMLElement2_getClientRects(IHTMLElement2 *iface, IHTMLRec
|
|||
rects->IHTMLRectCollection_iface.lpVtbl = &HTMLRectCollectionVtbl;
|
||||
rects->ref = 1;
|
||||
rects->rect_list = rect_list;
|
||||
init_dispex(&rects->dispex, (IUnknown*)&rects->IHTMLRectCollection_iface, &HTMLRectCollection_dispex);
|
||||
init_dispex_with_compat_mode(&rects->dispex, (IUnknown*)&rects->IHTMLRectCollection_iface,
|
||||
&HTMLRectCollection_dispex, dispex_compat_mode(&This->node.event_target.dispex));
|
||||
|
||||
*pRectCol = &rects->IHTMLRectCollection_iface;
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in New Issue