DescriptionHTMLTableSectionElement.insertRow()'s argument default value should be -1
HTMLTableSectionElement.insertRow()'s argument default value should be -1, not
0, as per the specification:
http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tbody-element
The new behavior matches the one of Firefox 29 and IE11.
This CL also cleans up the implementation of HTMLTableSectionElement::insertRow()
a bit.
R=arv@chromium.org, tkent@chromium.org
BUG=369803
TEST=fast/dom/HTMLTableSectionElement/insertRow-default-argument.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173339
Patch Set 1 #
Total comments: 6
Messages
Total messages: 12 (0 generated)
|