/* * Copyright (c) 2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::Layout { class FlexFormattingContext final : public FormattingContext { public: FlexFormattingContext(Box& containing_block, FormattingContext* parent); ~FlexFormattingContext(); virtual bool inhibits_floating() const override { return true; } virtual void run(Box&, LayoutMode) override; }; }