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

Re: Using existing staff.xml based tests with HTML processors

From: Curt Arnold <carnold@houston.rr.com>
Date: Fri, 8 Mar 2002 09:13:19 -0600
Message-ID: <002f01c1c6b3$c820c140$a800a8c0@CurtMicron>
To: <www-dom-ts@w3.org>
> I believe it would be more useful to use constructs like <div
class="employeeid"> and <a class="domestic" href=2xx">

That would require more substantial changes to the body of the test, since
the set up in most of the tests use a getElementsByTagName() to locate the
element that is the focus on the test.  If there is not a one-to-one
correspondance of an existing tag name to an HTML tag name, then a different
mechanism would have to be used to locate the focal element and the existing
tests and the HTML compatible tests would diverge more than necessary.  In
addition, all tests that retrieved tag names would have to be changed to
retrieve that class attribute.

Also, I'm not sure why the differentiating on "class" would be more

p.s. The file that I suggested last night does display identically in Opera,
Mozilla and IE.  It can be accessed from cvsWeb at
Received on Friday, 8 March 2002 10:13:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:04 UTC