mshtml: Added IHTMLTable::width property implementation.
Zhenbo Li
litimetal at gmail.com
Fri Apr 18 20:38:29 CDT 2014
try 2:
Thanks for Jacek's suggestions.
1. Convert float to int in getter, instead of setter.
2. Make the helper more generic (var2str)
3. Don't mistake HRESULT/nsresult
4. Don't use return_nsst in the old way
5. More strict in cmp_length
origin:
As my test case shows, windows would truncate float numbers.
I considered VarInt() in oleaut32.dll, but I think to declare
var2str_length() is more clear.
---
dlls/mshtml/htmltable.c | 80
++++++++++++++++++++++++++++++++++++++++++++++---
dlls/mshtml/tests/dom.c | 67 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 143 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mshtml-Added-IHTMLTable-width-property-implementation.txt
Type: text/x-patch
Size: 5842 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140419/de98f82e/attachment.bin>
More information about the wine-patches
mailing list