Module: wine Branch: master Commit: b53307188fe8609864dc68b6977cc08e41e03092 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b53307188fe8609864dc68b697...
Author: Jacek Caban jacek@codeweavers.com Date: Wed Jun 18 00:12:26 2008 +0200
mshtml: Added IHTMLStyle::put_background implementation.
---
dlls/mshtml/htmlstyle.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c index 859193f..32f6462 100644 --- a/dlls/mshtml/htmlstyle.c +++ b/dlls/mshtml/htmlstyle.c @@ -43,6 +43,8 @@ typedef struct {
#define HTMLSTYLE(x) ((IHTMLStyle*) &(x)->lpHTMLStyleVtbl)
+static const WCHAR attrBackground[] = + {'b','a','c','k','g','r','o','u','n','d',0}; static const WCHAR attrBackgroundColor[] = {'b','a','c','k','g','r','o','u','n','d','-','c','o','l','o','r',0}; static const WCHAR attrBackgroundImage[] = @@ -435,8 +437,10 @@ static HRESULT WINAPI HTMLStyle_get_color(IHTMLStyle *iface, VARIANT *p) static HRESULT WINAPI HTMLStyle_put_background(IHTMLStyle *iface, BSTR v) { HTMLStyle *This = HTMLSTYLE_THIS(iface); - FIXME("(%p)->(%s)\n", This, debugstr_w(v)); - return E_NOTIMPL; + + TRACE("(%p)->(%s)\n", This, debugstr_w(v)); + + return set_style_attr(This, attrBackground, v, 0); }
static HRESULT WINAPI HTMLStyle_get_background(IHTMLStyle *iface, BSTR *p)