Jacek Caban : mshtml:
Added COMMENT_NODE implementation in nsnode_to_nsstring_rec.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jun 11 08:46:40 CDT 2007
Module: wine
Branch: master
Commit: 9e3021746cbd5b4a71a3da3ccac74e2d58385bd8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e3021746cbd5b4a71a3da3ccac74e2d58385bd8
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Jun 10 11:54:51 2007 +0200
mshtml: Added COMMENT_NODE implementation in nsnode_to_nsstring_rec.
---
dlls/mshtml/nsembed.c | 6 ++++++
dlls/mshtml/nsiface.idl | 11 ++++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 4282789..40225d5 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -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);
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 347fd49..cc7ae35 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -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
{
More information about the wine-cvs
mailing list