HTMLTableCellElement.h 696 B

1234567891011121314151617181920212223242526272829303132
  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 HTMLTableCellElement final : public HTMLElement {
  10. WEB_PLATFORM_OBJECT(HTMLTableCellElement, HTMLElement);
  11. public:
  12. virtual ~HTMLTableCellElement() override;
  13. unsigned col_span() const;
  14. unsigned row_span() const;
  15. void set_col_span(unsigned);
  16. void set_row_span(unsigned);
  17. private:
  18. HTMLTableCellElement(DOM::Document&, DOM::QualifiedName);
  19. virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
  20. };
  21. }
  22. WRAPPER_HACK(HTMLTableCellElement, Web::HTML)