HTMLTableCellElement.h 587 B

123456789101112131415161718192021222324252627
  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. public:
  11. using WrapperType = Bindings::HTMLTableCellElementWrapper;
  12. HTMLTableCellElement(DOM::Document&, DOM::QualifiedName);
  13. virtual ~HTMLTableCellElement() override;
  14. unsigned col_span() const;
  15. void set_col_span(unsigned);
  16. private:
  17. virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
  18. };
  19. }