Last Comment Bug 824116 - Make index of table.insertRow optional
: Make index of table.insertRow optional
: dev-doc-complete
Product: Core
Classification: Components
Component: DOM: Core & HTML (show other bugs)
: Trunk
: All All
-- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Andrew Overholt [:overholt]
Depends on: 824907
  Show dependency treegraph
Reported: 2012-12-21 14:07 PST by Ma Hsiao-Chun
Modified: 2013-04-27 10:48 PDT (History)
5 users (show)
Ms2ger: in‑testsuite?
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Ma Hsiao-Chun 2012-12-21 14:07:21 PST
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121024073032

Steps to reproduce:

Check the state of table.insertRow

Actual results:

MDN says index is required:
And Firefox 17 does require it.

Expected results:

HTML5 standard says index is optional:
And it is optional in Chrome and IE.
Comment 1 User image :Ms2ger (⌚ UTC+1/+2) 2012-12-21 23:50:58 PST
Spec: <>.

It's probably easiest to wait until we move HTMLTableElement to WebIDL; Peter, do you have an idea about the timeframe for that?
Comment 2 User image :Ms2ger (⌚ UTC+1/+2) 2013-01-06 01:54:53 PST
Also HTMLTableSectionElement.insertRow, HTMLTableRowElement.insertCell. All default to -1.

Note You need to log in before you can comment on or make changes to this bug.