On 9月15日, 下午10时40分, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > byang wrote: > > I am now trying to implement the HTML Meter element, and I have > > some problem on vetical alignment of box. I don't understand what the > > nsHTMLReflowMetrics.ascent is used for... > > It used to be the distance from the top of the frame to the baseline (or > ASK_FOR_BASELINE if GetBaseline() should be used instead). > > > Could anybody tell me how Mozilla use this property to determine > > the baseline alignment? > > ascent controls where the baseline is with respect to the frame being > reflow. Alignment of that baseline with respect to other things is > handled by the vertical-align property.
Could you please point me to some code which do these stuff? Thanks! Regards! Bo
_______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

