1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 17:25:10 +00:00

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
parent b3f7ea9914
commit d2e3e98b6b
3 changed files with 56 additions and 0 deletions

View file

@ -31,6 +31,11 @@ public:
NonnullRefPtr<HTMLTableSectionElement> create_t_head();
void delete_t_head();
RefPtr<HTMLTableSectionElement> t_foot();
DOM::ExceptionOr<void> set_t_foot(HTMLTableSectionElement& thead);
NonnullRefPtr<HTMLTableSectionElement> create_t_foot();
void delete_t_foot();
NonnullRefPtr<DOM::HTMLCollection> rows();
DOM::ExceptionOr<NonnullRefPtr<HTMLTableRowElement>> insert_row(long index);
DOM::ExceptionOr<void> delete_row(long index);