Commit 39a8701d authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

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: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 518a175c
...@@ -6466,6 +6466,9 @@ static HRESULT HTMLElement_populate_props(DispatchEx *dispex) ...@@ -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;
......
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