mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 05:25:09 +00:00
LibWeb: Implement HTMLTableElement row attributes
rows returns a HTMLCollection of all the tr elements contained within the table. We leave the SameObject attribute off the attribute in the IDL as we cannot currently return the same HTMLCollection every time (see the FIXME on DOM::Document::applets) The WrapperGenerator currently does not correctly handle the default value for the type long on insertRow. Currently not specifying the index will insert a row at index 0.
This commit is contained in:
parent
2d600a8675
commit
887fa18e32
4 changed files with 92 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
interface HTMLTableElement : HTMLElement {
|
||||
|
||||
readonly attribute HTMLCollection rows;
|
||||
HTMLTableRowElement insertRow(optional long index = -1);
|
||||
undefined deleteRow(long index);
|
||||
|
||||
[Reflect] attribute DOMString align;
|
||||
[Reflect] attribute DOMString border;
|
||||
[Reflect] attribute DOMString frame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue