HTMLTableRowElement.h 599 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/HTML/HTMLElement.h>
  8. namespace Web::HTML {
  9. class HTMLTableRowElement final : public HTMLElement {
  10. WEB_PLATFORM_OBJECT(HTMLTableRowElement, HTMLElement);
  11. public:
  12. virtual ~HTMLTableRowElement() override;
  13. JS::NonnullGCPtr<DOM::HTMLCollection> cells() const;
  14. int row_index() const;
  15. int section_row_index() const;
  16. private:
  17. HTMLTableRowElement(DOM::Document&, DOM::QualifiedName);
  18. };
  19. }
  20. WRAPPER_HACK(HTMLTableRowElement, Web::HTML)