HTMLBodyElement.h 753 B

123456789101112131415161718192021222324252627282930
  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 HTMLBodyElement final : public HTMLElement {
  10. public:
  11. using WrapperType = Bindings::HTMLBodyElementWrapper;
  12. HTMLBodyElement(DOM::Document&, DOM::QualifiedName);
  13. virtual ~HTMLBodyElement() override;
  14. virtual void parse_attribute(const FlyString&, const String&) override;
  15. virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
  16. private:
  17. // ^HTML::GlobalEventHandlers
  18. virtual EventTarget& global_event_handlers_to_event_target() override;
  19. RefPtr<CSS::ImageStyleValue> m_background_style_value;
  20. };
  21. }