HTMLBRElement.h 553 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2018-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 HTMLBRElement final : public HTMLElement {
  10. WEB_PLATFORM_OBJECT(HTMLBRElement, HTMLElement);
  11. public:
  12. virtual ~HTMLBRElement() override;
  13. virtual RefPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
  14. private:
  15. HTMLBRElement(DOM::Document&, DOM::QualifiedName);
  16. };
  17. }
  18. WRAPPER_HACK(HTMLBRElement, Web::HTML)