mshtml: Don't populate the props at all on IE9+ modes.
For IE9 and up we use proper attribute nodes without associated props. Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
518a175cba
commit
39a8701dfd
|
@ -6466,6 +6466,9 @@ static HRESULT HTMLElement_populate_props(DispatchEx *dispex)
|
||||||
if(!This->dom_element)
|
if(!This->dom_element)
|
||||||
return S_FALSE;
|
return S_FALSE;
|
||||||
|
|
||||||
|
if(dispex_compat_mode(dispex) >= COMPAT_MODE_IE9)
|
||||||
|
return S_OK;
|
||||||
|
|
||||||
nsres = nsIDOMElement_GetAttributes(This->dom_element, &attrs);
|
nsres = nsIDOMElement_GetAttributes(This->dom_element, &attrs);
|
||||||
if(NS_FAILED(nsres))
|
if(NS_FAILED(nsres))
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
Loading…
Reference in New Issue