Closed
Bug 9043
Opened 27 years ago
Closed 27 years ago
TH.cellIndex returns -1
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: martin.honnen, Assigned: karnaze)
Details
(Whiteboard: [TESTCASE] TH.cellIndex returning negative val)
Attachments
(3 files)
Accessing the
cellIndex
property of a TH element shows
-1
while TD shows the expected value; Example
<HTML>
<HEAD>
</HEAD>
<BODY>
<TABLE>
<THEAD>
<TR>
<TH ONCLICK="alert(this.cellIndex);">
Name
</TD>
</TR>
</THEAD>
<TBODY>
<TR>
<TD ONCLICK="alert(this.cellIndex);">
Kibo
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
| Reporter | ||
Comment 1•27 years ago
|
||
Comment 2•27 years ago
|
||
Updated•27 years ago
|
Whiteboard: [TESTCASE] TH.cellIndex returning negative val
Comment 3•27 years ago
|
||
The first attachment also likes to create lots of extra windows on the screen.
The new one displays the value in an <INPUT> field.
Oh, and the <TH> element still returns -1. 19990802 M9 build on Win98.
What seems to happen is:
* TH.cellIndex is always -1
* TD.cellIndex is the number of TD (but not TH) elements that occurred earlier
in the row.
Attaching additional testcase (based on previous).
Should this go to karnaze?
Updated•27 years ago
|
Assignee: vidur → karnaze
Comment 6•27 years ago
|
||
David's right - this should go to karnaze (especially since he's less doomed
than I am :-).
| Assignee | ||
Updated•27 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•27 years ago
|
||
Fixed with 9/8/99 checkin.
Updated•27 years ago
|
Status: RESOLVED → VERIFIED
Comment 8•27 years ago
|
||
confirmed
marking verified
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•