mshtml: Added IHTMLInputElement::readOnly property.

Jacek Caban jacek at codeweavers.com
Thu Aug 14 09:11:43 CDT 2014


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




More information about the wine-devel mailing list