Commit 188a1d7d authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

mshtml: Expose IElementTraversal interface to scripts.

parent 59028126
......@@ -5288,6 +5288,9 @@ 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)
dispex_info_add_interface(info, IElementTraversal_tid, NULL);
}
static const tid_t HTMLElement_iface_tids[] = {
......
......@@ -127,6 +127,7 @@ typedef struct EventTarget EventTarget;
XDIID(HTMLElementEvents2) \
XIID(IDocumentSelector) \
XIID(IElementSelector) \
XIID(IElementTraversal) \
XIID(IHTMLAnchorElement) \
XIID(IHTMLAreaElement) \
XIID(IHTMLAttributeCollection) \
......
......@@ -34,6 +34,7 @@ function test_elem_props() {
test_exposed("querySelectorAll", v >= 8);
test_exposed("textContent", v >= 9);
test_exposed("prefix", v >= 9);
test_exposed("firstElementChild", v >= 9);
next_test();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment