Jacek Caban : mshtml: Improved IHTMLStyle3::put_zoom stub.
Alexandre Julliard
julliard at winehq.org
Tue Nov 17 09:28:17 CST 2009
Module: wine
Branch: master
Commit: 6be475d0fe1d1eba6b39b6c23b5a69b186e49695
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6be475d0fe1d1eba6b39b6c23b5a69b186e49695
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Nov 16 23:55:10 2009 +0100
mshtml: Improved IHTMLStyle3::put_zoom stub.
---
dlls/mshtml/htmlstyle3.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmlstyle3.c b/dlls/mshtml/htmlstyle3.c
index 505e91e..56fd3df 100644
--- a/dlls/mshtml/htmlstyle3.c
+++ b/dlls/mshtml/htmlstyle3.c
@@ -103,7 +103,15 @@ static HRESULT WINAPI HTMLStyle3_get_layoutFlow(IHTMLStyle3 *iface, BSTR *p)
static HRESULT WINAPI HTMLStyle3_put_zoom(IHTMLStyle3 *iface, VARIANT v)
{
HTMLStyle *This = HTMLSTYLE3_THIS(iface);
- FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
+
+ TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
+
+ /* zoom property is IE CSS extension that is mostly used as a hack to workaround IE bugs.
+ * The value is set to 1 then. We can safely ignore setting zoom to 1. */
+ if(V_VT(&v) == VT_I4 && V_I4(&v) == 1)
+ return S_OK;
+
+ FIXME("stub for %s\n", debugstr_variant(&v));
return E_NOTIMPL;
}
More information about the wine-cvs
mailing list