Re: mshtml: Added IHTMLInputElement::readOnly property.
14 Aug
2014
14 Aug
'14
2:11 p.m.
Hi Zhenbo, On 08/14/14 16:08, Zhenbo Li wrote:
--- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -389,15 +389,33 @@ static HRESULT WINAPI HTMLInputElement_get_defaultValue(IHTMLInputElement *iface static HRESULT WINAPI HTMLInputElement_put_readOnly(IHTMLInputElement *iface, VARIANT_BOOL v) { HTMLInputElement *This = impl_from_IHTMLInputElement(iface); - FIXME("(%p)->(%x)\n", This, v); - return E_NOTIMPL; + nsresult nsres; + + TRACE("(%p)->(%x)\n", This, v); + + nsres = nsIDOMHTMLInputElement_SetReadOnly(This->nsinput, v != VARIANT_FALSE ? TRUE : FALSE);
Remove "? TRUE : FALSE" part. Jacek
4143
Age (days ago)
4143
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban