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:
parent
e391872ee0
commit
c16ef729db
|
@ -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[] = {
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue