W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Re: DOCTYPE shouldn't be optional

From: Ben Meadowcroft <ben@benmeadowcroft.com>
Date: Tue, 20 Jul 2004 20:56:17 +0100
Message-ID: <004201c46e93$a2809480$8f90ff3e@BensPC>
> -----Original Message-----
> From: whatwg-whatwg.org-bounces at lists.whatwg.org 
> [mailto:whatwg-whatwg.org-bounces at lists.whatwg.org] On Behalf 
> Of Henri Sivonen
> Sent: 15 July 2004 21:32
> To: WHAT WG List
> Subject: Re: [whatwg] Re: DOCTYPE shouldn't be optional
> 
> 
> 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.

-- 
Ben Meadowcroft
http://www.benmeadowcroft.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3034 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20040720/404ad6f0/attachment.bin>
Received on Tuesday, 20 July 2004 12:56:17 UTC

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