Commit e777e9d1 authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

mshtml: Add IHTMLCurrentStyle::get_textTransform implementation.

parent f63fd826
......@@ -793,8 +793,8 @@ static HRESULT WINAPI HTMLCurrentStyle_get_overflowY(IHTMLCurrentStyle *iface, B
static HRESULT WINAPI HTMLCurrentStyle_get_textTransform(IHTMLCurrentStyle *iface, BSTR *p)
{
HTMLCurrentStyle *This = impl_from_IHTMLCurrentStyle(iface);
FIXME("(%p)->(%p)\n", This, p);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, p);
return get_nsstyle_attr(This->nsstyle, STYLEID_TEXT_TRANSFORM, p, 0);
}
static const IHTMLCurrentStyleVtbl HTMLCurrentStyleVtbl = {
......
......@@ -2750,6 +2750,10 @@ static void test_current_style(IHTMLCurrentStyle *current_style)
ok(V_VT(&v) == VT_BSTR, "V_VT(v) = %d\n", V_VT(&v));
VariantClear(&v);
hres = IHTMLCurrentStyle_get_textTransform(current_style, &str);
ok(hres == S_OK, "get_textTransform failed: %08x\n", hres);
SysFreeString(str);
current_style2 = get_current_style2_iface((IUnknown*)current_style);
b = 100;
......
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