HTMLTableSectionElement.h 677 B

1234567891011121314151617181920212223242526
  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. public:
  12. using WrapperType = Bindings::HTMLTableSectionElementWrapper;
  13. HTMLTableSectionElement(DOM::Document&, DOM::QualifiedName);
  14. virtual ~HTMLTableSectionElement() override;
  15. NonnullRefPtr<DOM::HTMLCollection> rows() const;
  16. DOM::ExceptionOr<NonnullRefPtr<HTMLTableRowElement>> insert_row(long index);
  17. DOM::ExceptionOr<void> delete_row(long index);
  18. };
  19. }