W3C home > Mailing lists > Public > www-dom-ts@w3.org > April 2002

Re: HTML L2 tests

From: Rick Rivello <richard.rivello@nist.gov>
Date: Thu, 4 Apr 2002 12:48:42 -0500
Message-ID: <198f01c1dc00$f5b33e00$573b0681@sdct.nist.gov>
To: "Curt Arnold" <carnold@houston.rr.com>, <www-dom-ts@w3.org>
Here's some more research that I have done on the
errors reported in the iehtml2.html file.

The following tests:

 HTMLIsIndexElement01
 HTMLIsIndexElement02
 HTMLIsIndexElement03
 HTMLLIElement01
 HTMLTableSectionElement03
 HTMLTableSectionElement06
 HTMLTableSectionElement09
 HTMLTableSectionElement12
 HTMLTableSectionElement15

 are all reporting Asize errors.  Something is not quite right because
 there are two isindex elements in the file loaded for the IsIndex tests
 instead of one as the error message reports.

HTMLLIElement01 fails due to an Asize error while HTMLLIElement02 passes.
Both tests load the same file and check for an Asize value of 2.
 
There is only one tbody element for the in the file loaded for the TableSection
tests while the error message reports two.

Anyone see something that I am missing.




 
  ----- Original Message ----- 
  From: Curt Arnold 
  To: www-dom-ts@w3.org 
  Cc: Rick Rivello 
  Sent: Thursday, April 04, 2002 3:06 AM
  Subject: HTML L2 tests


  Rick had been running into some problems running the in-development L2 HTML suite.  Running that suite currently is a minefield.

  If you run "alltests.html" will IE, almost every test will fail.  With the current DOMTestCase.js, the default media type is always "text/xml", which on IE means MSXML, MSXML doesn't support the HTML interfaces almost every test will attempt to use an HTML-specific interface and fail.

  To run the tests using the "text/html" DOM, select "html_alltests.html".  You should get a test report like the file that I attached as ie6html2.html.  I assume that most of the test failures in this file are because of problems with the tests, not problems with the implementation.

  Running an individual test using "text/html" requires manually editing the test to add the media type (search for text/html).  I've attached HTMLAnchorElement01.html to show how that is done and how to use alert() statements as a poor substitute for a debugger.

  The loader in DOMTestCase.js doesn't work for multiple HTML documents in NN6/Mozilla.  So almost the opposite, for Mozilla and the current state of DOMTestCase.js, if you want to run the whole suite, you have to run "alltests.html" which will test the XHTML implementation in NN6/Mozilla.   I've attached nn62html2.html which lists the test failures from Netscape Navigator 6.2 on the same test but using XHTML test documents.  Tests that were failed by both implementations, most probably indicates a problem with the test or the test documents.

  Running the tests with Mozilla 0.9.9 or the current nightly build will crash in one of the tests between lines 18750 and 19000.  I haven't finished the half interval search to identify the specific test that causes the crash.

  Before running the tests, I committed a global replace of ignoreCase="auto" to ignoreCase="false".  There seem to be only a few tests (HTMLAreaElement06, HTMLTableElement07, HTMLTableElement08, HTMLTableElement09) that were showing behavior consistent with ignoreCase="auto".  
Received on Thursday, 4 April 2002 12:49:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:46 GMT