[PATCH] mshtml: Add IHTMLTableCell::bgColor property implementation.

Jacek Caban jacek at codeweavers.com
Fri Aug 29 10:24:17 CDT 2014


Hi Jactry,

On 08/29/14 17:17, Jactry Zeng wrote:
> --- a/dlls/mshtml/htmltablecell.c
> +++ b/dlls/mshtml/htmltablecell.c
> @@ -174,15 +174,47 @@ static HRESULT WINAPI HTMLTableCell_get_vAlign(IHTMLTableCell *iface, BSTR *p)
>  static HRESULT WINAPI HTMLTableCell_put_bgColor(IHTMLTableCell *iface, VARIANT v)
>  {
>      HTMLTableCell *This = impl_from_IHTMLTableCell(iface);
> -    FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
> -    return E_NOTIMPL;
> +    nsAString strColor;
> +    nsresult nsres;
> +
> +    TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
> +
> +    nsAString_InitDepend(&strColor, V_BSTR(&v));
> +    variant_to_nscolor(&v, &strColor);

Please handle variant_to_nscolor errors here.

Jacek



More information about the wine-devel mailing list