krithika wrote: > I have a problem in using nsIDOMRange.insertNode > > I create a range(with some start and end) inside a node and insert a > div node it works. > > Immediately if i create another range(different offset) inside the > same node and insert a new div node , it fails. > > Is there any restriction for create range with different offsets > inside same node.Iam doing this from c++ code. > > Please let me know if Iam missing something.
Nope, that should work fine. Does the same thing work if you do it from javascript? If it fails there too please provide a minimal testcase and we can look at it. / Jonas _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

