Re: Tidy and Gecko DOM

* Fabrice Estiévenart wrote:
>I'dl like to configure Tidy so that its DOM representation of any HTML 
>document is exactly the same than the Gecko DOM 
>(http://developer.mozilla.org/en/docs/Gecko_DOM_Reference).

This is not generally possible. There are very many differences between
the two, in particular how they handle malformed HTML and white space;
presumably also how they handle attribute defaulting and some other de-
tails.

>For example, the Gecko DOM always includes a <tbody> tag between a 
><table> and its first <tr>.

I think we discussed at some point an option to have tbody elements
added, but currently there is no such option.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Thursday, 18 January 2007 11:06:30 UTC