mshtml: Added IHTMLTableRow::bgColor property implementation.

Zhenbo Li litimetal at gmail.com
Wed Mar 26 02:06:39 CDT 2014


try 2:
1. Use a new method to implement HTMLTableRow_get_bgColor
    to fix test failure.
(For doing that, I have to declare nscolor_to_str in
  mshtml_private.h, too)
2. Restore originial color in testcase.

try 1:
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       |  4 ++--
  dlls/mshtml/htmltablerow.c   | 41 
+++++++++++++++++++++++++++++++++++++----
  dlls/mshtml/mshtml_private.h |  4 ++++
  dlls/mshtml/tests/dom.c      | 35 +++++++++++++++++++++++++++++++++++
  4 files changed, 78 insertions(+), 6 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mshtml-Added-IHTMLTableRow-bgColor-property-implementa.txt
Type: text/x-patch
Size: 5140 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140326/bda81103/attachment-0001.bin>


More information about the wine-patches mailing list