[whatwg] HTMLTableElement.deleteRow(-1)

Darin Adler darin at apple.com
Tue Jan 1 21:14:06 PST 2008

The DOM Level 2 document <http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-13114938 
 > says that deleteRow(-1) deletes the last row.

The current HTML 5 draft <http://www.whatwg.org/specs/web-apps/current-work/#deleterow 
 > does not mention -1 for deleteRow, only for insertRow.

I think HTML 5 should be revised.

     -- Darin

More information about the whatwg mailing list