InlineNode.h 458 B

123456789101112131415161718192021
  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/Layout/Box.h>
  8. namespace Web::Layout {
  9. class InlineNode : public NodeWithStyleAndBoxModelMetrics {
  10. public:
  11. InlineNode(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
  12. virtual ~InlineNode() override;
  13. virtual RefPtr<Painting::Paintable> create_paintable() const override;
  14. };
  15. }