I have an IDOMNode
nsCOMPtr_IDOMNode elementNode;
from which I can get the node name without problems ("INPUT", "FIELDSET", ...)
nsString strName;
elementNode->GetNodeName(strName);
Since Gecko 17 I have the problem, that I cannot get the HTML Input Element Interface for this node:
nsCOMPtr<nsIDOMHTMLInputElement> pHTMLInputElement;
pHTMLInputElement = do_QueryInterface(elementNode);
if(pHTMLInputElement) {
This works fine with < Gecko 16. Any Ideas or known bugs? Did something change between Gecko 16 to 17?