[PATCH] mshtml: Add IDocumentRange stub.

Jacek Caban jacek at codeweavers.com
Tue Jun 25 13:48:19 CDT 2019


Hi Nikolay,

On 6/25/19 8:19 PM, Nikolay Sivov wrote:
> @@ -5565,6 +5647,7 @@ static const tid_t HTMLDocumentNode_iface_tids[] = {
>       IHTMLDocument2_tid,
>       IHTMLDocument4_tid,
>       IHTMLDocument5_tid,
> +    IDocumentRange_tid,


If MSDN is right, createRange should be exposed to scripts only in IE9+ 
mode. See how it's done for IDocumentEvent in 
HTMLDocumentNode_init_dispex_info and documentmode.js for an example. 
I'd suggest to drop this chunk of patch for the initial version and 
expose the interface to scripts in a separated patch.


Thanks,

Jacek




More information about the wine-devel mailing list