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 {
|
|
|
|
|
public:
|
|
|
|
|
using WrapperType = Bindings::HTMLTableSectionElementWrapper;
|
|
|
|
|
|
2022-02-18 17:00:52 -03:00
|
|
|
HTMLTableSectionElement(DOM::Document&, DOM::QualifiedName);
|
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-03-12 18:50:35 -03:00
|
|
|
DOM::ExceptionOr<NonnullRefPtr<HTMLTableRowElement>> insert_row(long index);
|
2022-03-12 18:50:53 -03:00
|
|
|
DOM::ExceptionOr<void> delete_row(long index);
|
2020-07-31 23:07:00 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|