mshtml: Make sure we don't try to create node object for attributes.
This commit is contained in:
parent
8f79e50e1a
commit
6fe3c709e2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue