On Apr 16, 12:21 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> Jonathan wrote:
> > Can you please tell me if the mContentLength attribute in nsTextFrame
> > always store the length of the text in the nsTextFrame? From the code,
> > I am not sure if it is always get set to the length of the text.
>
> I assume you're talking about Gecko 1.8, since there is no such member in 
> Gecko 1.9?
>
> What do you mean by "the length of the text in the nsTextFrame"?  Depending on
> your definition of that term, mContentLength might or might not store it.
>
> -Boris

Thank you.
Yes, I am talking about Gecko 1.8.
What I mean is if I have text like 'Hello world' in a html page. Gecko
creates a nsTextFrame for it, will mContentLength be 11 (length of
'Hello world'?

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

Reply via email to