Re: rowIndex inconsistencies in the testsuite

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 17 December 2002 14:06, Rick Rivello wrote:
>      I agree with David that the tests are in error and should be changed.

Thanks.
The last issue I have with tables is insertRow(-1). The DOM says
"the new row is appended". But to which section? To the last <tbody>, or to 
the last section in logical order, which could be a <tfoot> ?
Note that insertRow(rows.length) would do the latter.

The test HTMLTableElement39 seem to indicate that the new row is added
to the <tbody> section, not to the <tfoot>. I would have no problem with that.... 
but this doesn't even seem to be the case in Internet Explorer v6 - IIRC the 
insertRow(-1) behavior was supposed to be copied from IE. If that's the
case, then the test must be fixed, to look at the tfoot after inserting the row.

Same issue with deleteRow(-1), in HTMLTableElement40.

- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9/4o972KcVAmwbhARAsgEAKCxdmcqHUI1WnD1J8hN1n5PJbYU4QCcCHHQ
B5mRE0PhqI+hvZbOf9qvkAg=
=JEO4
-----END PGP SIGNATURE-----

Received on Tuesday, 17 December 2002 15:34:18 UTC