mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:58:10 +00:00
LibWeb: Use WebIDL types where possible instead of C types
This commit is contained in:
parent
f1d6693990
commit
c41b359ca5
13 changed files with 32 additions and 24 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <LibWeb/ARIA/Roles.h>
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/WebIDL/Types.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -20,8 +21,8 @@ public:
|
|||
virtual ~HTMLTableSectionElement() override;
|
||||
|
||||
JS::NonnullGCPtr<DOM::HTMLCollection> rows() const;
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<HTMLTableRowElement>> insert_row(long index);
|
||||
WebIDL::ExceptionOr<void> delete_row(long index);
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<HTMLTableRowElement>> insert_row(WebIDL::Long index);
|
||||
WebIDL::ExceptionOr<void> delete_row(WebIDL::Long index);
|
||||
|
||||
// https://www.w3.org/TR/html-aria/#el-tbody
|
||||
// https://www.w3.org/TR/html-aria/#el-tfoot
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue