fune/servo/components/script/dom/webidls/HTMLTableSectionElement.webidl
Corey Farwell 6a9c0443a4 servo: Merge #7854 - Implement deleteRow and insertRow for table section elements (from frewsxcv:htmltablesectionelement-insertrow-deleterow); r=nox
Implement deleteRow and insertRow for <table> element

Continued from #6936

Source-Repo: https://github.com/servo/servo
Source-Revision: 292dbfe809ddf048065f790071ea2022406536d7
2015-10-11 16:44:13 -06:00

23 lines
864 B
Text

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablesectionelement
interface HTMLTableSectionElement : HTMLElement {
readonly attribute HTMLCollection rows;
[Throws]
HTMLElement insertRow(optional long index = -1);
[Throws]
void deleteRow(long index);
// also has obsolete members
};
// https://html.spec.whatwg.org/multipage/#HTMLTableSectionElement-partial
partial interface HTMLTableSectionElement {
// attribute DOMString align;
// attribute DOMString ch;
// attribute DOMString chOff;
// attribute DOMString vAlign;
};