Re: Re: HTML_Table: thead, tfoot and tbody

From: Date: Mon, 01 Aug 2005 20:37:15 +0000
Subject: Re: Re: HTML_Table: thead, tfoot and tbody
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-39110@lists.php.net to get a copy of this message
On 8/1/05, Mark Wiesemann <wiesemann@php.net> wrote: > Hi, > > another thing came to my mind: > > Let's say somebody does this: > $table->setHeaderContents(1, ...); > $table->setCellContents(2, ...); > $table->setHeaderContents(3, ...); > or something similar (like setFooterContents(2, ...) and > setCellContents(3, ...)) > > What to do with it? Throw an error when using the third line of the > example? That would be a BC break. Or set the cell as a header cell > (<th>) but put in the <tbody> group? No, THs may be anywhere. If it's a BC break then don't do it. > > The more I think about this, I like to bring back my first suggestion: > Let the user specify the row numbers that belong to the three groups. > This also makes sense to me. Can you have TDs in a THEAD? -- Justin Patrin

« previous php.pear.dev (#39110) next »