2020-08-01 03:07:00 +01:00
|
|
|
/*
|
2021-04-28 22:46:44 +02:00
|
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
2022-02-26 11:43:52 +01:00
|
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
2020-08-01 03:07:00 +01:00
|
|
|
*
|
2021-04-22 01:24:48 -07:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-08-01 03:07:00 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <LibWeb/HTML/HTMLElement.h>
|
|
|
|
|
|
|
|
namespace Web::HTML {
|
|
|
|
|
|
|
|
class HTMLTableSectionElement final : public HTMLElement {
|
|
|
|
public:
|
|
|
|
using WrapperType = Bindings::HTMLTableSectionElementWrapper;
|
|
|
|
|
2022-02-18 21:00:52 +01:00
|
|
|
HTMLTableSectionElement(DOM::Document&, DOM::QualifiedName);
|
2020-08-01 03:07:00 +01:00
|
|
|
virtual ~HTMLTableSectionElement() override;
|
2022-02-26 11:43:52 +01:00
|
|
|
|
|
|
|
NonnullRefPtr<DOM::HTMLCollection> rows() const;
|
2022-03-12 23:50:35 +02:00
|
|
|
DOM::ExceptionOr<NonnullRefPtr<HTMLTableRowElement>> insert_row(long index);
|
2022-03-12 23:50:53 +02:00
|
|
|
DOM::ExceptionOr<void> delete_row(long index);
|
2020-08-01 03:07:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|