On 9月16日, 上午10时10分, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> byang wrote:
> > Could you please point me to some code which do these stuff?
>
> You can look at text controls if you want examples of nodes setting the
> ascent in the reflow metrics.  You can look at blocks if you want an
> example of a frame that uses ASK_FOR_BASELINE.  nsLineLayout is what
> uses the ascent information.

If I set nothing to the ascent, then it will use the bottom as the
baseline? right?

Regards!
Bo

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

Reply via email to