On Fri, Nov 7, 2008 at 10:53 PM, Alistair Leslie-Hughes
<[EMAIL PROTECTED]> wrote:
> Hi,
> Use strtolW correctly.
>
> Changelog:
> mshtml: Implement IHTMLStyle get/put posLeft
>
> Best Regards
> Alistair Leslie-Hughes
>
>
>
>
>
>
You forgot to attach the patch :-)
--
-Austin
Alistair Leslie-Hughes wrote:
> Hi,
>Made functions for get/set.
>
> Changelog:
> mshtml: Implement IHTMLStyle get/put posLeft
+for(ptr=value; isdigitW(*ptr); ptr++)
+{
+if(*ptr && !strcmpW(ptr, pxW)) {
This if expression
Jacek Caban wrote:
> for(ptr=ret; isdigitW(*ptr); ptr++);
> if(*ptr || strcmp(ptr, pxW)) {
>
.. && .. of course...
Jacek
Alistair Leslie-Hughes wrote:
> Hi,
> Clean up the get function.
> Make sure we round down the value passed in.
> Corrected test to prove above.
>
> Changelog:
> mshtml: Implement IHTMLStyle get/put posLeft
>
+
+V_VT(&v) = VT_I4;
+V_I4(&v) = floor
> {attrLeft, DISPID_IHTMLSTYLE_LEFT},
> +{attrLeft, DISPID_IHTMLSTYLE_POSLEFT},
You can't duplicate attr names in this table. We want to map 'left' to
DISPID_IHTMLSTYLE_LEFT, not to random one.
Jacek
Alistair Leslie-Hughes wrote:
> Hi,
>
> Changelog:
> mshtml: Implement IHTMLStyle get/put posLeft
>
> Best Regards
> Alistair Leslie-Hughes
>
> {attrMarginRight, DISPID_IHTMLSTYLE_MARGINRIGHT},
> {attrPaddingLeft, DISPID_IHTMLSTYLE_