mshtml: Expose IHTMLElement7 to scripts.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-03-10 14:58:17 +01:00 committed by Alexandre Julliard
parent 097ca89335
commit 926d662e36
2 changed files with 5 additions and 0 deletions

View File

@ -6273,6 +6273,9 @@ void HTMLElement_init_dispex_info(dispex_data_t *info, compat_mode_t mode)
dispex_info_add_interface(info, IHTMLElement6_tid, NULL);
dispex_info_add_interface(info, IElementTraversal_tid, NULL);
}
if(mode >= COMPAT_MODE_IE10)
dispex_info_add_interface(info, IHTMLElement7_tid, NULL);
}
static const tid_t HTMLElement_iface_tids[] = {

View File

@ -42,6 +42,8 @@ sync_test("elem_props", function() {
test_exposed("addEventListener", v >= 9);
test_exposed("removeEventListener", v >= 9);
test_exposed("dispatchEvent", v >= 9);
test_exposed("msSetPointerCapture", v >= 10);
if (v >= 9) test_exposed("spellcheck", v >= 10);
});
sync_test("doc_props", function() {