diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 1039ab5ad03..a3d0701ec34 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -48,6 +48,7 @@ static const char elem_test_str[] = "
" "" "" + ""; static const char indent_test_str[] = "testabc
123"; @@ -81,7 +82,8 @@ typedef enum { ET_TBODY, ET_SCRIPT, ET_TEST, - ET_COMMENT + ET_COMMENT, + ET_IMG } elem_type_t; static REFIID const none_iids[] = { @@ -221,6 +223,17 @@ static REFIID const comment_iids[] = { NULL }; +static REFIID const img_iids[] = { + &IID_IHTMLDOMNode, + &IID_IHTMLDOMNode2, + &IID_IHTMLElement, + &IID_IHTMLElement2, + &IID_IDispatchEx, + &IID_IHTMLImgElement, + &IID_IConnectionPointContainer, + NULL +}; + typedef struct { const char *tag; REFIID *iids; @@ -246,7 +259,8 @@ static const elem_type_info_t elem_type_infos[] = { {"TBODY", elem_iids, NULL}, {"SCRIPT", script_iids, NULL}, {"TEST", elem_iids, &DIID_DispHTMLUnknownElement}, - {"!", comment_iids, &DIID_DispHTMLCommentElement} + {"!", comment_iids, &DIID_DispHTMLCommentElement}, + {"IMG", img_iids, &DIID_DispHTMLImg} }; static const char *dbgstr_w(LPCWSTR str) @@ -1524,6 +1538,7 @@ static void test_elems(IHTMLDocument2 *doc) ET_TBODY, ET_SCRIPT, ET_TEST, + ET_IMG }; static const elem_type_t item_types[] = {