CSSFrameConstructor/Constraints: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
This page lists constraints for the [[CSSFrameConstructor]]
Some constraints to start things off. Feel free to come up with a better syntax to mark optional and multiple frames
Some constraints to start things off. Feel free to come up with a better syntax to mark optional and multiple frames



Revision as of 22:41, 12 January 2006

This page lists constraints for the CSSFrameConstructor

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