Jonathan wrote: > My understanding is for each DOM element, mozilla will create a Frame > for paint/display.
0 or more frames, more precisely. > My question is does the Frame hierarchy mirrors the DOM hierarchy in > the source html? Somewhat, but not precisely. > For example, will the TextFrame be the child of the ContainerFrame > (for the DIV tag) and same as the table. For your <div> the TextFrame will be a child of the <div>'s BlockFrame, yes. > TextFrame->ContainerFrame(table cell)->ContainerFrame(table row)- >> ContainerFrame(table). here the TextFrame will be a child of a BlockFrame which is a child of a TableCellFrame which is a child of the TableRowFrame, which is a child of the TableRowGroupFrame, which is a child of the TableFrame, which is a child of the TableOuterFrame. This follows the DOM closely, but has a block inside the table cell and has the inner/outer table thing to handle captions. -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

