Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection.
git-svn-id: svn://10.0.0.236/trunk@7190 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -563,6 +563,9 @@ HTMLContentSink::OpenForm(const nsIParserNode& aNode)
|
||||
GetAttributeValueAt(aNode, i, v);
|
||||
mCurrentForm->SetAttribute(k, v);
|
||||
}
|
||||
// XXX Temporary code till forms become real content
|
||||
// Add the form to the document
|
||||
((nsHTMLDocument*)mDocument)->AddForm(mCurrentForm);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user