Bug 132651

Summary: [HTML] Default argument to HTMLTableElement.insertRow() should be -1
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, billcari, commit-queue, darin, esprehn+autocc, gyuyoung.kim, kondapallykalyan, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#htmltableelement
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2014-05-07 06:46:31 PDT
The default argument to HTMLTableElement.insertRow() should be -1, not 0, according to the specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#htmltableelement Firefox 29 and IE11 both match the specification. Blink is about to change its behavior as well: http://code.google.com/p/chromium/issues/detail?id=369803 https://codereview.chromium.org/270213007
Attachments
Patch (5.39 KB, patch)
2014-05-07 07:28 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-05-07 07:28:02 PDT
WebKit Commit Bot
Comment 2 2014-05-07 10:31:20 PDT
Comment on attachment 230996 [details] Patch Clearing flags on attachment: 230996 Committed r168428: <http://trac.webkit.org/changeset/168428>
WebKit Commit Bot
Comment 3 2014-05-07 10:31:25 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 4 2014-10-27 23:53:26 PDT
*** Bug 138067 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.