[whatwg] [OT] tbody

fantasai fantasai.lists at inkedblade.net
Wed Jul 21 00:47:26 PDT 2004


Ben Meadowcroft wrote:

>> On Jul 15, 2004, at 21:28, Malcolm Rowe wrote:
>> 
>> 
>>> Isn't it accurate to say that in HTML, a TBODY element is only present
>>> in the DOM if it is actually present in the source, while in XHTML, a
>>> TBODY element is created in the DOM even if it isn't present in the 
>>> source?
>> 
>> The other way round. tbody is inferred in HTML.
> 
> It may also be inferred in the visual layout see 
> http://www.w3.org/TR/REC-CSS2/tables.html#anonymous-boxes for more details.

The <tbody> element is not inferred in CSS, only an anonymous
table-row-group box is. (Anonymous elements don't have corresponding
named elements.)

~fantasai

-- 
http://fantasai.inkedblade.net/contact




More information about the whatwg mailing list