HTMLTableColElement.h 739 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/HTML/HTMLElement.h>
  8. #include <LibWeb/WebIDL/Types.h>
  9. namespace Web::HTML {
  10. class HTMLTableColElement final : public HTMLElement {
  11. WEB_PLATFORM_OBJECT(HTMLTableColElement, HTMLElement);
  12. GC_DECLARE_ALLOCATOR(HTMLTableColElement);
  13. public:
  14. virtual ~HTMLTableColElement() override;
  15. WebIDL::UnsignedLong span() const;
  16. WebIDL::ExceptionOr<void> set_span(WebIDL::UnsignedLong);
  17. private:
  18. HTMLTableColElement(DOM::Document&, DOM::QualifiedName);
  19. virtual void initialize(JS::Realm&) override;
  20. virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
  21. };
  22. }