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