HTMLTableSectionElement.h 696 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
  4. *
  5. * SPDX-License-Identifier: BSD-2-Clause
  6. */
  7. #pragma once
  8. #include <LibWeb/HTML/HTMLElement.h>
  9. namespace Web::HTML {
  10. class HTMLTableSectionElement final : public HTMLElement {
  11. WEB_PLATFORM_OBJECT(HTMLTableSectionElement, HTMLElement);
  12. public:
  13. virtual ~HTMLTableSectionElement() override;
  14. JS::NonnullGCPtr<DOM::HTMLCollection> rows() const;
  15. WebIDL::ExceptionOr<JS::NonnullGCPtr<HTMLTableRowElement>> insert_row(long index);
  16. WebIDL::ExceptionOr<void> delete_row(long index);
  17. private:
  18. HTMLTableSectionElement(DOM::Document&, DOM::QualifiedName);
  19. };
  20. }