Commit 6fe3c709 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Make sure we don't try to create node object for attributes.

parent 8f79e50e
......@@ -1033,6 +1033,9 @@ static HRESULT create_node(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLDOMNod
*ret = &comment->node;
break;
}
case ATTRIBUTE_NODE:
ERR("Called on attribute node\n");
return E_UNEXPECTED;
default: {
HTMLDOMNode *node;
......
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