CSSFrameConstructor/Constraints: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 11: Line 11:
         nsTableColFrame)
         nsTableColFrame)
       nsTableRowGroupFrame      (is this optional?)
       nsTableRowGroupFrame      (is this optional?)
         nsTableRowFrame         One for each row
         nsTableRowFrame
           nsTableCellFrame
           nsTableCellFrame



Revision as of 22:39, 12 January 2006

Some constraints to start things off. Feel free to come up with a better syntax to mark optional and multiple frames

Tables

A table is always constructed of a frame tree like:

 nsTableOuterFrame
   (nsTableCaptionFrame)       optional
   nsTableFrame
     (nsTableColGroupFrame     optional, right?
       nsTableColFrame)
     nsTableRowGroupFrame      (is this optional?)
       nsTableRowFrame
         nsTableCellFrame

The nsTableCaptionFrame and nsTableCellFrames will hold non-table frames.

Grids