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

LibWeb: Implement HTMLTableElement thead attributes

* tHead - Getter for the thead element
  The setter is not currently implemented
* createTHead - If necessary, creates a new thead element
  and add it to the table after any caption or colgroup elements,
  but before anything else
* deleteTHead - If a thead element exists in the table, delete it
This commit is contained in:
Adam Hodgen 2021-05-02 18:03:47 +01:00 committed by Andreas Kling
parent 0fa0367a39
commit b3f7ea9914
4 changed files with 97 additions and 0 deletions

View file

@ -4,6 +4,10 @@ interface HTMLTableElement : HTMLElement {
HTMLTableCaptionElement createCaption();
undefined deleteCaption();
attribute HTMLTableSectionElement? tHead;
HTMLTableSectionElement createTHead();
undefined deleteTHead();
readonly attribute HTMLCollection rows;
HTMLTableRowElement insertRow(optional long index = -1);
undefined deleteRow(long index);