1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-28 21:12:06 +00:00

LibWeb: Implement HTMLTableElement tbody attributes

* tBodies - returns a HTMLCollection of all tbody elements
* createTBody - If necessary, creates a new tbody element
  and add it to the table after the last tbody element
This commit is contained in:
Adam Hodgen 2021-05-02 18:17:08 +01:00 committed by Andreas Kling
parent d2e3e98b6b
commit 37685b0181
3 changed files with 38 additions and 0 deletions

View file

@ -12,6 +12,9 @@ interface HTMLTableElement : HTMLElement {
HTMLTableSectionElement createTFoot();
undefined deleteTFoot();
readonly attribute HTMLCollection tBodies;
HTMLTableSectionElement createTBody();
readonly attribute HTMLCollection rows;
HTMLTableRowElement insertRow(optional long index = -1);
undefined deleteRow(long index);