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. -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

