mshtml: Added IHTMLTableRow::bgColor property implementation.

Alexandre Julliard julliard at winehq.org
Tue Mar 25 10:51:18 CDT 2014


Zhenbo Li <litimetal at gmail.com> writes:

> As MSDN said, bgColor property can be a VARIANT of type VT_BSTR or
> VT_I4 that receives one of the color names or RGB values in the Color
> Table.[1] So I declared variant_to_nscolor(from htmlbody.c) in
> mshtml_private.h
>
> [1]: http://msdn.microsoft.com/en-us/library/aa741715%28v=vs.85%29.aspx
> ---
>  dlls/mshtml/htmlbody.c       |  2 +-
>  dlls/mshtml/htmltablerow.c   | 29 +++++++++++++++++++++++++----
>  dlls/mshtml/mshtml_private.h |  2 ++
>  dlls/mshtml/tests/dom.c      | 37 +++++++++++++++++++++++++++++++++++++
>  4 files changed, 65 insertions(+), 5 deletions(-)

It doesn't work here:

../../../tools/runtest -q -P wine -T ../../.. -M mshtml.dll -p mshtml_test.exe.so dom && touch dom.ok
dom.c:5641: Test failed: get_bgColor returned L"red"
dom.c:5653: Test failed: get_bgColor returned L"#Ff0000"
make: *** [dom.ok] Error 2

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list