krithika wrote:
> I am actually trying to insert comments at certain points to indicate
> page breaks.

I suggest setting a range at the point where you want to insert the comment and 
using the range operations to insert a node at that point....  That will handle 
splitting text nodes as needed, etc.

-Boris

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to