LibWeb: Implement HTMLTableElement tfoot attributes

* tFoot - Getter for the tfoot element
  The setter is not currently implemented
* createTFoot - If necessary, creates a new tfoot element
  and add it to the table after any tbody elements
* deleteTFoot - If a tfoot element exists in the table, delete it
This commit is contained in:
Adam Hodgen 2021-05-02 18:07:45 +01:00 committed by Andreas Kling
commit d2e3e98b6b
Notes: sideshowbarker 2024-07-18 18:25:22 +09:00
3 changed files with 56 additions and 0 deletions

View file

@ -8,6 +8,10 @@ interface HTMLTableElement : HTMLElement {
HTMLTableSectionElement createTHead();
undefined deleteTHead();
attribute HTMLTableSectionElement? tFoot;
HTMLTableSectionElement createTFoot();
undefined deleteTFoot();
readonly attribute HTMLCollection rows;
HTMLTableRowElement insertRow(optional long index = -1);
undefined deleteRow(long index);