This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 502 - HTMLTableElement31 tries to put table tag inside table tag
Summary: HTMLTableElement31 tries to put table tag inside table tag
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 1 (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 10:32 UTC by David Faure
Modified: 2004-03-10 00:40 UTC (History)
0 users

See Also:


Attachments
Adds table to the body, not to another table (2.13 KB, patch)
2004-03-09 17:36 UTC, Curt Arnold
Details
Removes equivalent L2 HTML fix (5.71 KB, patch)
2004-03-09 19:40 UTC, Curt Arnold
Details

Description David Faure 2004-01-23 10:32:11 UTC
I feel HTMLTableElement31 doesn't do what it's supposed to do :) 
It creates a <table> element and then does 
<appendChild obj='testNode' newChild='table' ...> 
where testNode is itself a <table>. 
I think most implementations will refuse to do that, table isn't a valid child 
of table. 
 
I think the test intended to use body.appendChild instead (for instance).
Comment 1 David Faure 2004-01-23 10:36:41 UTC
Sadly I had already reported this 15 months ago, with a patch :( 
http://lists.w3.org/Archives/Public/www-dom-ts/2002Sep/0045.html 
Comment 2 Bob Clary 2004-02-10 15:36:58 UTC
to curt.
Comment 3 Curt Arnold 2004-03-09 17:36:13 UTC
Created attachment 287 [details]
Adds table to the body, not to another table

Mozilla and IE pass the test as it was, but adding a table to a table is
definitely questionable.
Comment 4 Curt Arnold 2004-03-09 19:40:15 UTC
Created attachment 290 [details]
Removes equivalent L2 HTML fix

The original issue had been fixed in the L2 HTML suite.  This patch removes the
L2 HTML version of the test.