W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

RE: bug in handling </p> inside <table>

From: Parsons, Rick <rick.parsons@eds.com>
Date: Tue, 25 Jul 2000 08:47:36 +0100
Message-ID: <01D8D54ABD17D11187E500805FD6C94801B6B1D5@GBRBM001>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
I can see Stuart's point that P is not allowed in TABLE but if he is right
in listing the only things allowed within a TABLE, why doesn't Tidy insert
the TBODY where it is needed rather than let the browser imply it which
always seems to be a dangerous thing to do?

Cheers,

Rick Parsons

email: mailto:rick.parsons@bigfoot@com - anti spam, replace second @ with
dot
web: http://www.parsons1998.freeserve.co.uk/ [personal]
	http://west-penwith.cornwall.eu.org/ [West Penwith Resources]
address: 18, Brighton Road, Redland, Bristol, BS6 6NT England
telephone: +(44) 117 974 1288
53


-----Original Message-----
From: Stuart Updegrave [mailto:supde@microsoft.com]
Sent: 24 July 2000 18:31
To: 'Tung Mansfield'; 'html-tidy@w3.org'
Subject: RE: bug in handling </p> inside <table>



Tung -- your HTML is at fault, according to the HTML specification: 

11.2.1 The TABLE element

<!ELEMENT TABLE - -
     (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>

Those are the only allowed child elements of TABLE. Note that most TBODY was
introduced after the original implementations of TABLE, so most browsers
imply an TBODY if they see TABLE - TR without containing TBODY. 

cheers,
~stuart 
Received on Tuesday, 25 July 2000 03:47:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT