mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Implement HTMLTableElement caption attributes
* caption - Getter and setter for the caption element * createCaption - If necessary, creates a new caption element and add it to the table * deleteCaption - If a caption element exists in the table, delete it
This commit is contained in:
parent
887fa18e32
commit
0fa0367a39
Notes:
sideshowbarker
2024-07-18 18:25:30 +09:00
Author: https://github.com/ant1441
Commit: 0fa0367a39
Pull-request: https://github.com/SerenityOS/serenity/pull/6823
Reviewed-by: https://github.com/awesomekling
4 changed files with 46 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
interface HTMLTableElement : HTMLElement {
|
||||
|
||||
attribute HTMLTableCaptionElement? caption;
|
||||
HTMLTableCaptionElement createCaption();
|
||||
undefined deleteCaption();
|
||||
|
||||
readonly attribute HTMLCollection rows;
|
||||
HTMLTableRowElement insertRow(optional long index = -1);
|
||||
undefined deleteRow(long index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue