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