For IE9 and up we use proper attribute nodes without associated props.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/mshtml/htmlelem.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c index d718069..bc2a28f 100644 --- a/dlls/mshtml/htmlelem.c +++ b/dlls/mshtml/htmlelem.c @@ -6467,6 +6467,9 @@ static HRESULT HTMLElement_populate_props(DispatchEx *dispex) if(!This->dom_element) return S_FALSE;
+ if(dispex_compat_mode(dispex) >= COMPAT_MODE_IE9) + return S_OK; + nsres = nsIDOMElement_GetAttributes(This->dom_element, &attrs); if(NS_FAILED(nsres)) return E_FAIL;