Closed Bug 30419 Opened 25 years ago Closed 25 years ago

Table methods "insertRow()"/"insertCell()" should accept (-1) value to indicate "append at end"

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

VERIFIED INVALID

People

(Reporter: taras.tielkes, Assigned: vidur)

References

Details

IE5 allows table rows and table cells to explicitly be appended to the end of the tablesection c.q. tablerow by passing a "index" of (-1). Although this is not in the Dom1/2 spec, it's a good idea imho.
Mozilla.org policy is, as far as I am aware, not to implement NS 4 or IE-specific features, but to stick to the defined standards. I am therefore marking this bug INVALID (don't take it personally; there isn't a more polite option ;-) Gerv
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Mass update of qa contact
QA Contact: gerardok → janc
marking verified
Status: RESOLVED → VERIFIED
The DOM2-HTML (Version 1.0 - W3C Candidate Recommendation 07 October 2002) states: "insertRow Insert a new empty row in the table. The new row is inserted immediately before and in the same section as the current indexth row in the table. If index is -1 or equal to the number of rows, the new row is appended. In addition, when the table is empty the row is inserted into a TBODY which is created and inserted into the table." Shouldn't this bug be reopened?
*** Bug 188635 has been marked as a duplicate of this bug. ***
Right now I see that this option implement in 1.3a branch. So maybe resolution should be change in "fixed"?
Dupe it to bug 180709, which is where this was fixed.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.