From: Gabriel Ivăncescu gabrielopcode@gmail.com
It's already part of the prototype chain.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/htmldoc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c index 13a383fded2..ef964297404 100644 --- a/dlls/mshtml/htmldoc.c +++ b/dlls/mshtml/htmldoc.c @@ -6009,8 +6009,10 @@ static void DocumentFragment_init_dispex_info(dispex_data_t *info, compat_mode_t if(mode < COMPAT_MODE_IE9) { HTMLDocumentNode_init_dispex_info(info, mode); dispex_info_add_interface(info, IHTMLDocument5_tid, NULL); - } else if(mode < COMPAT_MODE_IE11) { - dispex_info_add_dispids(info, IHTMLDocument3_tid, document3_dispids); + } else { + HTMLDOMNode_init_dispex_info(info, mode); + if(mode < COMPAT_MODE_IE11) + dispex_info_add_dispids(info, IHTMLDocument3_tid, document3_dispids); } }
It would be nice to have a test case where it matters, like actually using any of those properties from a script.