mshtml: Add IHTMLCurrentStyle::get_textTransform implementation.
This commit is contained in:
parent
f63fd82610
commit
e777e9d1ba
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue