Closed
Bug 1297
Opened 27 years ago
Closed 27 years ago
TableCell.cellIndex always returning 0
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: angus, Assigned: karnaze)
Details
Here's some sample code:
<html>
<body>
<table>
<tr>
<td onmousedown="alert(this.cellIndex)">0</td>
<td onmousedown="alert(this.cellIndex)">1</td>
<td onmousedown="alert(this.cellIndex)">2</td>
</tr>
</table>
</body>
</html>
Mousing down on each cell should alert the number in the cell, since they
correspond to the cellIndex. We seem to be resolving the cellIndex as 0 in
every case.
Note that TR.rowIndex has a similar problem that also needs to be fixed. I
figure this is a tables thing?
the unimplemented DOM calls are:
section: rows, insertRow, deleteRow
row: rowIndex, sectionRowIndex, insertCell, deleteCell
cell: cellIndex
| Assignee | ||
Updated•27 years ago
|
Status: NEW → ASSIGNED
Comment 3•27 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 4015 → 4141
Summary: TableCell.cellIndex always returning 0 → TableCell.cellIndex always returning 0
QA contact re-assigned according to the product areas we're currently working
on.
| Assignee | ||
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•27 years ago
|
||
This was fixed in January. Here is an addition to the test case that tests
rowIndex.
<html>
<body>
<table border=1>
<tr>
<td onmousedown="alert(this.cellIndex)">cellIndex=0</td>
<td onmousedown="alert(this.cellIndex)">cellIndex=1</td>
<td onmousedown="alert(this.cellIndex)">cellIndex=2</td>
<tr
onmousedown="alert(this.rowIndex)"><td>rowIndex=1<td>rowIndex=1<td>rowIndex=1</t
r>
<tr
onmousedown="alert(this.rowIndex)"><td>rowIndex=2<td>rowIndex=2<td>rowIndex=2</t
r>
</tr>
</table>
</body>
</html>
Comment 6•19 years ago
|
||
RCS file: /cvsroot/mozilla/testing/mochitest/tests/test_bug1297.html,v
done
Checking in tests/test_bug1297.html;
/cvsroot/mozilla/testing/mochitest/tests/test_bug1297.html,v <-- test_bug1297.html
initial revision: 1.1
done
Flags: in-testsuite+
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
•