Name Description Size Coverage
crashtests -
gtest -
moz.build 992 -
nsDocumentEncoder.cpp Object that can be used to serialize selections, ranges, or nodes to strings in a gazillion different ways. 89579 -
nsDOMSerializer.cpp 3032 -
nsDOMSerializer.h 1392 -
nsHTMLContentSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an HTML (not XHTML!) DOM to an HTML string that could be parsed into more or less the original DOM. 15334 -
nsHTMLContentSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an HTML (not XHTML!) DOM to an HTML string that could be parsed into more or less the original DOM. 1795 -
nsIContentSerializer.h @param aOutput The `Append*` methods will append to this string. The reference to it will be dropped with `Finish`. 3240 -
nsIDocumentEncoder.idl Create a fixed up version of a node. This method is called before each node in a document is about to be persisted. The implementor may return a new node with fixed up attributes or null. If null is returned the node should be used as-is. @param aNode Node to fixup. @param [OUT] aSerializeCloneKids True if the document encoder should apply recursive serialization to the children of the fixed up node instead of the children of the original node. @return The resulting fixed up node. 13163 -
nsPlainTextSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert a DOM into plaintext in a nice way (eg for copy/paste as plaintext). 64247 -
nsPlainTextSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert a DOM into plaintext in a nice way (eg for copy/paste as plaintext). 13674 -
nsXHTMLContentSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XHTML (not HTML!) DOM to an XHTML string that could be parsed into more or less the original DOM. 24568 -
nsXHTMLContentSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XHTML (not HTML!) DOM to an XHTML string that could be parsed into more or less the original DOM. 5295 -
nsXMLContentSerializer.cpp nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XML DOM to an XML string that could be parsed into more or less the original DOM. 62953 -
nsXMLContentSerializer.h nsIContentSerializer implementation that can be used with an nsIDocumentEncoder to convert an XML DOM to an XML string that could be parsed into more or less the original DOM. 16453 -
tests -