On Jun 11, 11:59 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > krithika wrote: > > I have a div surrounding a text which has a style -moz-column-count:3. > > In print engine code I just get the ColumnSetFrame iterate it to find > > the text where each column starts and create a range and insert a > > node. > > In the middle of the text? > > > if the all the text ranges happens to be inside a same node the second > > and third insert always fails. > > Are you trying to insert these in the same text node as above? At a point > later > than the first insertion? Which is now no longer in that node? > > -Boris > In the middle of the text? Yes we are inserting in the middle of the text.
> Are you trying to insert these in the same text node as above? At a point > later > than the first insertion? Which is now no longer in that node? Yes we are trying to insert in the same text node(but different offset).I think it is the same node after first insertion.Becos if we exit print preview and reenter the 2nd insert succeeds for the same offset. Thanks in Advance, Krith _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

