W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] <tbody> content model should be 0+ <tr>s

From: Simon Pieters <zcorpan@gmail.com>
Date: Thu, 05 Apr 2007 15:48:21 +0200
Message-ID: <op.tqbcmvjp7a8kvn@hp-a0a83fcd39d2>
On Thu, 05 Apr 2007 15:41:21 +0200, Simon Pieters <zcorpan at gmail.com>  
wrote:

> Why does <tbody> require one or more <tr> elements, as opposed to zero  
> or more?
>
> http://www.whatwg.org/demos/repeat-01/ has an empty <tbody> if you click  
> Remove.

Also... since tables are allowed to have <tr>s as direct children of  
<table>, if <tbody> is allowed to be empty then presumably <table> should  
be allowed to contain no <tbody> and no <tr> elements.

-- 
Simon Pieters
Received on Thursday, 5 April 2007 06:48:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC