[EMAIL PROTECTED] wrote: > Here's an alternative approach. Let's get rid of the content length > field, and consider the text mapped by a text frame to be the text > between the frame's starting offset and the frame's next > continuation's starting offset (or the end of the text node if there > is no next continuation).
This sounds like a really good idea to me. I could use a change like this for bug 371839, I think. > text is being mapped by the current frame. If there is no next-in- > flow, we set a field in the current frame --- like the current length > field, but more like a temporary hint --- to indicate where a new > continuation should start. I wonder whether it's worth putting those outside the textframe (e.g. having a class-static data structure that has this info) or something. I'd assume we never have many frames that want a continuation but don't have one yet in flight... in fact, do we ever have more than one? -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

