mshtml: Expose IHTMLElement6 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 2017-09-13 12:52:40 +02:00 committed by Alexandre Julliard
parent e391872ee0
commit c16ef729db
2 changed files with 6 additions and 1 deletions

View File

@ -5349,8 +5349,10 @@ void HTMLElement_init_dispex_info(dispex_data_t *info, compat_mode_t mode)
if(mode >= COMPAT_MODE_IE8)
dispex_info_add_interface(info, IElementSelector_tid, NULL);
if(mode >= COMPAT_MODE_IE9)
if(mode >= COMPAT_MODE_IE9) {
dispex_info_add_interface(info, IHTMLElement6_tid, NULL);
dispex_info_add_interface(info, IElementTraversal_tid, NULL);
}
}
static const tid_t HTMLElement_iface_tids[] = {

View File

@ -35,6 +35,9 @@ function test_elem_props() {
test_exposed("textContent", v >= 9);
test_exposed("prefix", v >= 9);
test_exposed("firstElementChild", v >= 9);
test_exposed("onsubmit", v >= 9);
test_exposed("getElementsByClassName", v >= 9);
test_exposed("removeAttributeNS", v >= 9);
next_test();
}