Closed
Bug 96489
Opened 24 years ago
Closed 24 years ago
insertCell method not returning cell object
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: david, Assigned: jst)
Details
(Whiteboard: [HAVE FIX])
Attachments
(2 files)
|
414 bytes,
text/html
|
Details | |
|
627 bytes,
patch
|
jst
:
review+
jst
:
superreview+
fabian
:
approval+
|
Details | Diff | Splinter Review |
If inserting a cell in a row between 2 other cells, I don't get the new cell
object returned to the caller. It looks like the cell is being created in the
correct place because it moves the cells to the right of it.
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
as per the attachment: clicking on the button several times, you can see the
cells moving right, but viewing the javascript console shows why the contents
aren't displayed.
Comment 3•24 years ago
|
||
If index is equal to the number of cells, the new cell is appended.else it is
not working ...
var newcell = therow.insertCell(numcells); was used replacing
var newcell = therow.insertCell(1);
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
*mutters something about Wshadow being turned off*
retChild was redeclared in the case the new cell is inserted, but not when it is
appended, which caused this bug. Thanks David for finding it.
Comment 6•24 years ago
|
||
r=peterv
| Assignee | ||
Comment 7•24 years ago
|
||
Attachment #47659 -
Flags: superreview+
Attachment #47659 -
Flags: review+
Comment 8•24 years ago
|
||
a=blizzard on behalf of drivers for 0.9.4
Comment 9•24 years ago
|
||
Comment on attachment 47659 [details] [diff] [review]
Fix bug 96489
jst, will you be my guest to check this in please? Thanks a lot.
Attachment #47659 -
Flags: approval+
| Assignee | ||
Comment 10•24 years ago
|
||
Will do, thanks for doing all the work, Fabian.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
| Assignee | ||
Comment 11•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in
before you can comment on or make changes to this bug.
Description
•