W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2002

Re: DOM2 HTML / HTMLTableRowElement / rowIndex

From: Brad Pettit <bradp@microsoft.com>
Date: Sat, 7 Sep 2002 19:20:00 -0700
Message-ID: <3013537455C0D1459746B2AE2DF47AEA0521F2FE@svc-msg-01.northamerica.corp.microsoft.com>
To: <www-dom@w3.org>

There has been no response to my previous query/proposal so I am
reposting it
with hard-coded word wrapping in hope we will get some feedback. We need
to
confirm whether existing implementations -- which are in violation of
the spec --
should be followed in a new implementation.

---

From http://lists.w3.org/Archives/Public/www-dom/2002JulSep/0082.html

We would like to propose an erratum to DOM2 HTML regarding
the rowIndex property of HTMLTableRowElement. This is so the
DOM2 HTML specification will reflect the behavior of 2 currently
interoperable implementations: IE 6 for Windows and Netscape 6.

Where the specification reads: "This is in document tree order
and not display order. The rowIndex does not take into account
sections (THEAD, TFOOT, or TBODY) within the table." 

The proposed erratum is: "This is in logical order and not in
document order. The rowIndex does take into account sections (THEAD,
TFOOT, or TBODY) within the table, placing THEAD rows first in the
index, followed by TBODY rows, followed by TFOOT rows."

The documentation of the rowIndex parameter for
HTMLTableElement::deleteRow
and HTMLTableElement::insertRow could be clarified by language similar
to
the proposed erratum. For example, the HTMLTableElement::deleteRow
specification currently states "This index starts from 0 and is relative
to all the rows contained inside the table, regardless of section
parentage."

In the above, "Regardless of section parentage" could mean order within
the table element of the document, or display order.

Brad Pettit
Microsoft Corp.
Received on Saturday, 7 September 2002 22:20:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT