mshtml: Return S_OK in IHTMLDocument3::recalc.

This commit is contained in:
Jacek Caban 2014-10-17 16:58:39 +02:00 committed by Alexandre Julliard
parent 40ef9b2d78
commit 114f32c8b6
2 changed files with 8 additions and 2 deletions

View File

@ -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,

View File

@ -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);