/* * Copyright (c) 2020, the SerenityOS developers. * Copyright (c) 2022, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::HTML { class HTMLTableSectionElement final : public HTMLElement { WEB_PLATFORM_OBJECT(HTMLTableSectionElement, HTMLElement); public: virtual ~HTMLTableSectionElement() override; JS::NonnullGCPtr rows() const; WebIDL::ExceptionOr> insert_row(long index); WebIDL::ExceptionOr delete_row(long index); private: HTMLTableSectionElement(DOM::Document&, DOM::QualifiedName); virtual void visit_edges(Cell::Visitor&) override; JS::GCPtr mutable m_rows; }; }