Jacek Caban : mshtml: Added IHTMLStyle::get_borderRightColor implementation .
Alexandre Julliard
julliard at winehq.org
Wed Feb 10 10:44:50 CST 2010
Module: wine
Branch: master
Commit: 6f6f1c9338b0dd56363c7f92bc59effc84fc25a6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f6f1c9338b0dd56363c7f92bc59effc84fc25a6
Author: Jacek Caban <jacek at codeweavers.com>
Date: Tue Feb 9 19:35:41 2010 +0100
mshtml: Added IHTMLStyle::get_borderRightColor implementation.
---
dlls/mshtml/htmlstyle.c | 6 ++++--
dlls/mshtml/tests/dom.c | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c
index 3022e2b..f96bee2 100644
--- a/dlls/mshtml/htmlstyle.c
+++ b/dlls/mshtml/htmlstyle.c
@@ -1547,8 +1547,10 @@ static HRESULT WINAPI HTMLStyle_put_borderRightColor(IHTMLStyle *iface, VARIANT
static HRESULT WINAPI HTMLStyle_get_borderRightColor(IHTMLStyle *iface, VARIANT *p)
{
HTMLStyle *This = HTMLSTYLE_THIS(iface);
- FIXME("(%p)->(%p)\n", This, p);
- return E_NOTIMPL;
+
+ TRACE("(%p)->(%p)\n", This, p);
+
+ return get_nsstyle_attr_var(This->nsstyle, STYLEID_BORDER_RIGHT_COLOR, p, 0);
}
static HRESULT WINAPI HTMLStyle_put_borderBottomColor(IHTMLStyle *iface, VARIANT v)
diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index 3a008ea..dc37a5e 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -4488,8 +4488,8 @@ static void test_default_style(IHTMLStyle *style)
*/
V_BSTR(&v) = NULL;
hres = IHTMLStyle_get_borderRightColor(style, &v);
- todo_wine ok(hres == S_OK, "get_borderRightColor failed: %08x\n", hres);
- todo_wine ok(!strcmp_wa(V_BSTR(&v), "red"), "str=%s\n", wine_dbgstr_w(V_BSTR(&v)));
+ ok(hres == S_OK, "get_borderRightColor failed: %08x\n", hres);
+ ok(!strcmp_wa(V_BSTR(&v), "red"), "str=%s\n", wine_dbgstr_w(V_BSTR(&v)));
VariantClear(&v);
V_BSTR(&v) = NULL;
More information about the wine-cvs
mailing list