Commit 49ac9e0d authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

mshtml: Implement IHTMLStyle get_position.

parent 1a2216cb
...@@ -1734,8 +1734,8 @@ static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p) ...@@ -1734,8 +1734,8 @@ static HRESULT WINAPI HTMLStyle_get_left(IHTMLStyle *iface, VARIANT *p)
static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p) static HRESULT WINAPI HTMLStyle_get_position(IHTMLStyle *iface, BSTR *p)
{ {
HTMLStyle *This = HTMLSTYLE_THIS(iface); HTMLStyle *This = HTMLSTYLE_THIS(iface);
FIXME("(%p)->(%p)\n", This, p); TRACE("(%p)->(%p)\n", This, p);
return E_NOTIMPL; return IHTMLStyle2_get_position(HTMLSTYLE2(This), p);
} }
static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v) static HRESULT WINAPI HTMLStyle_put_zIndex(IHTMLStyle *iface, VARIANT v)
......
...@@ -2299,6 +2299,10 @@ static void test_default_style(IHTMLStyle *style) ...@@ -2299,6 +2299,10 @@ static void test_default_style(IHTMLStyle *style)
test_disp((IUnknown*)style, &DIID_DispHTMLStyle); test_disp((IUnknown*)style, &DIID_DispHTMLStyle);
test_ifaces((IUnknown*)style, style_iids); test_ifaces((IUnknown*)style, style_iids);
hres = IHTMLStyle_get_position(style, &str);
ok(hres == S_OK, "get_position failed: %08x\n", hres);
ok(!str, "str=%s\n", dbgstr_w(str));
str = (void*)0xdeadbeef; str = (void*)0xdeadbeef;
hres = IHTMLStyle_get_fontFamily(style, &str); hres = IHTMLStyle_get_fontFamily(style, &str);
ok(hres == S_OK, "get_fontFamily failed: %08x\n", hres); ok(hres == S_OK, "get_fontFamily failed: %08x\n", hres);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment