mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-01 13:50:58 +00:00
24 lines
547 B
C
24 lines
547 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2022, Martin Falisse <mfalisse@outlook.com>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibWeb/Layout/BlockFormattingContext.h>
|
||
|
|
#include <LibWeb/Layout/Box.h>
|
||
|
|
#include <LibWeb/Layout/FormattingContext.h>
|
||
|
|
|
||
|
|
namespace Web::Layout {
|
||
|
|
|
||
|
|
class GridFormattingContext final : public BlockFormattingContext {
|
||
|
|
public:
|
||
|
|
explicit GridFormattingContext(LayoutState&, BlockContainer const&, FormattingContext* parent);
|
||
|
|
~GridFormattingContext();
|
||
|
|
|
||
|
|
virtual void run(Box const&, LayoutMode) override;
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|