Commit 9e302174 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added COMMENT_NODE implementation in nsnode_to_nsstring_rec.

parent 21d61dae
......@@ -513,6 +513,12 @@ static void nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNode
nsIDOMText_Release(nstext);
break;
}
case COMMENT_NODE: {
nsIDOMComment *nscomment;
nsres = nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMComment, (void**)&nscomment);
nsres = nsIContentSerializer_AppendComment(serializer, nscomment, 0, -1, str);
break;
}
case DOCUMENT_NODE: {
nsIDOMDocument *nsdoc;
nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMDocument, (void**)&nsdoc);
......
......@@ -99,7 +99,6 @@ typedef nsISupports nsIDOMNamedNodeMap;
typedef nsISupports nsIDOMAttr;
typedef nsISupports nsIDOMDocumentType;
typedef nsISupports nsIDOMDOMImplementation;
typedef nsISupports nsIDOMComment;
typedef nsISupports nsIDOMCDATASection;
typedef nsISupports nsIDOMProcessingInstruction;
typedef nsISupports nsIDOMEntityReference;
......@@ -594,6 +593,15 @@ interface nsIDOMText : nsIDOMCharacterData
[
object,
uuid(a6cf9073-15b3-11d2-932e-00805f8add32)
/* FROZEN */
]
interface nsIDOMComment : nsIDOMCharacterData
{
}
[
object,
uuid(a6cf9076-15b3-11d2-932e-00805f8add32)
/* FROZEN */
]
......@@ -1152,6 +1160,7 @@ interface nsIWebBrowserPrint : nsISupports
[
object,
uuid(919e792a-6490-40b8-bba5-f9e9ad5640c8)
/* NOT_FROZEN */
]
interface nsIScrollable : nsISupports
{
......
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