krithika wrote: > I have a text frame and I have the content of that textframe.Now my > question is how do I add a comment node to this?.
As a sibling. Comments can be siblings of text. > content->AppendChildTo(commentContent , PR_FALSE) does not add > anything to it. As Jonas and I already said, Text nodes are not allowed to have children. -Boris P.S. What are you _really_ trying to do? That is, what is the goal here? The global goal, not "I want to add a comment as a child of a textnode", but _why_ you want to do that. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

