HTMLMarqueeElement.h 651 B

123456789101112131415161718192021222324252627
  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. namespace Web::HTML {
  9. // NOTE: This element is marked as obsolete, but is still listed as required by the specification.
  10. class HTMLMarqueeElement final : public HTMLElement {
  11. WEB_PLATFORM_OBJECT(HTMLMarqueeElement, HTMLElement);
  12. public:
  13. virtual ~HTMLMarqueeElement() override;
  14. private:
  15. HTMLMarqueeElement(DOM::Document&, DOM::QualifiedName);
  16. virtual void initialize(JS::Realm&) override;
  17. virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
  18. };
  19. }