mshtml: Return S_OK in IHTMLDocument3::recalc.
This commit is contained in:
parent
40ef9b2d78
commit
114f32c8b6
|
@ -1820,8 +1820,11 @@ static HRESULT WINAPI HTMLDocument3_releaseCapture(IHTMLDocument3 *iface)
|
|||
static HRESULT WINAPI HTMLDocument3_recalc(IHTMLDocument3 *iface, VARIANT_BOOL fForce)
|
||||
{
|
||||
HTMLDocument *This = impl_from_IHTMLDocument3(iface);
|
||||
FIXME("(%p)->(%x)\n", This, fForce);
|
||||
return E_NOTIMPL;
|
||||
|
||||
WARN("(%p)->(%x)\n", This, fForce);
|
||||
|
||||
/* Doing nothing here should be fine for us. */
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI HTMLDocument3_createTextNode(IHTMLDocument3 *iface, BSTR text,
|
||||
|
|
|
@ -7613,6 +7613,9 @@ static void test_elems(IHTMLDocument2 *doc)
|
|||
IHTMLElement_Release(elem2);
|
||||
IHTMLElement_Release(elem);
|
||||
|
||||
hres = IHTMLDocument3_recalc(doc3, VARIANT_TRUE);
|
||||
ok(hres == S_OK, "recalc failed: %08x\n", hres);
|
||||
|
||||
IHTMLDocument3_Release(doc3);
|
||||
|
||||
elem = get_elem_by_id(doc, "s", TRUE);
|
||||
|
|
Loading…
Reference in New Issue