SVGFormattingContext.h 472 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/Forward.h>
  8. #include <LibWeb/Layout/FormattingContext.h>
  9. namespace Web::Layout {
  10. class SVGFormattingContext : public FormattingContext {
  11. public:
  12. explicit SVGFormattingContext(FormattingState&, Box const&, FormattingContext* parent);
  13. ~SVGFormattingContext();
  14. virtual void run(Box const&, LayoutMode) override;
  15. };
  16. }