2.1.58 [HTML5] Section 4.9.5 The tbody element

V0133: The deleteRow function does not require the index value

The specification states:

 4.9.5 The tbody element
     DOM interface:
         interface HTMLTableSectionElement : HTMLElement {
             ...
             void deleteRow(long index);
         };

All document modes (All versions)

The deleteRow function does not require the index value.

V0134: The deleteRow function deletes the last row if index is -1

The specification states:

 4.9.5 The tbody element
     ...
     The deleteRow(index) method must remove the index'th element in the rows collection 
     from its parent. If index is less than zero or greater than or equal to the number of 
     elements in the rows collection, the method must instead throw an IndexSizeError 
     exception.

All document modes (All versions)

The deleteRow function deletes the last row if index is -1.

Show: