Closed Bug 824116 Opened 12 years ago Closed 12 years ago

Make index of table.insertRow optional

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: damage3025, Unassigned)

References

Details

(Keywords: dev-doc-complete)

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: https://developer.mozilla.org/en-US/docs/DOM/table.insertRow And Firefox 17 does require it. Expected results: HTML5 standard says index is optional: http://www.w3.org/TR/html5/tabular-data.html And it is optional in Chrome and IE.
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Spec: <http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#htmltableelement>. It's probably easiest to wait until we move HTMLTableElement to WebIDL; Peter, do you have an idea about the timeframe for that?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Version: unspecified → Trunk
Depends on: 824907
Also HTMLTableSectionElement.insertRow, HTMLTableRowElement.insertCell. All default to -1.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Keywords: dev-doc-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.