W3C home > Mailing lists > Public > www-style@w3.org > March 2000

anonymous table objects

From: Chris Karnaze <karnaze@netscape.com>
Date: Mon, 20 Mar 2000 22:33:08 -0800
Message-ID: <38D717A4.F0F22B56@netscape.com>
To: www-style@w3.org
Consider a case where T = table-cell, P = table-row-group, and T's next
sibling, S = button. Rule 1 says that a table-row will be generated
between P and T but doesn't imply that it spans S (since S is not a
table-cell). Rule 6 says that a table-row will be generate between P and
T and might imply that it spans S (because S is not a table row).

So, does the table-cell parent that gets generated for S have the same
table-row parent that gets generated for T or does it get a different
generated table-row parent? In other words, are T and S in the same row
or different rows?

   1.If the parent P of a 'table-cell' element T is not a 'table-row',
an object corresponding to a 'table-row' will be generated between
     P and T. This object will span all consecutive 'table-cell'
siblings (in the document tree) of T.
   2.If the parent P of a 'table-row' element T is not a 'table',
'inline-table', or 'table-row-group' element, an object corresponding to
a
     'table' element will be generated between P and T. This object will
span all consecutive siblings (in the document tree) of T that
     require a 'table' parent: 'table-row', 'table-row-group',
'table-header-group', 'table-footer-group', 'table-column',
     'table-column-group', and 'table-caption'.
   3.If the parent P of a 'table-column' element T is not a 'table',
'inline-table', or 'table-column-group' element, an object
     corresponding to a 'table' element will be generated between P and
T. This object will span all consecutive siblings (in the
     document tree) of T that require a 'table' parent: 'table-row',
'table-row-group', 'table-header-group', 'table-footer-group',
     'table-column', 'table-column-group', and 'table-caption'.
   4.If the parent P of a 'table-row-group' (or 'table-header-group',
'table-footer-group', or 'table-column-group') element T is not a
     'table' or 'inline-table', an object corresponding to a 'table'
element will be generated between P and T. This object will span all
     consecutive siblings (in the document tree) of T that require a
'table' parent: 'table-row', 'table-row-group', 'table-header-group',
     'table-footer-group', 'table-column', 'table-column-group', and
'table-caption'.
   5.If a child T of a 'table' element (or 'inline-table') P is not a
'table-row-group', 'table-header-group', 'table-footer-group', or
     'table-row' element, an object corresponding to a 'table-row'
element will be generated between P and T. This object spans all
     consecutive siblings of T that are not 'table-row-group',
'table-header-group', 'table-footer-group', or 'table-row' elements.
   6.If a child T of a 'table-row-group' element (or
'table-header-group' or 'table-footer-group') P is not a 'table-row'
element, an
     object corresponding to a 'table-row' element will be generated
between P and T. This object spans all consecutive siblings of T
     that are not 'table-row' elements.
   7.If a child T of a 'table-row' element P is not a 'table-cell'
element, an object corresponding to a 'table-cell' element will be
     generated between P and T. This object spans all consecutive
siblings of T that are not 'table-cell' elements.
Received on Tuesday, 21 March 2000 01:19:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT