2020-01-18 05:38:21 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
|
*
|
2021-04-22 05:24:48 -03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 05:38:21 -03:00
|
|
|
*/
|
|
|
|
|
|
2019-10-17 18:09:41 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
2020-11-22 11:53:01 -03:00
|
|
|
#include <LibWeb/Layout/BlockBox.h>
|
2019-10-17 18:09:41 -03:00
|
|
|
|
2020-11-22 11:53:01 -03:00
|
|
|
namespace Web::Layout {
|
2020-03-07 06:27:02 -03:00
|
|
|
|
2020-11-22 11:53:01 -03:00
|
|
|
class TableBox final : public Layout::BlockBox {
|
2019-10-17 18:09:41 -03:00
|
|
|
public:
|
2021-01-07 12:37:51 -03:00
|
|
|
TableBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
|
|
|
|
|
TableBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
|
2020-11-22 11:53:01 -03:00
|
|
|
virtual ~TableBox() override;
|
2021-01-07 14:00:51 -03:00
|
|
|
|
|
|
|
|
static CSS::Display static_display() { return CSS::Display::Table; }
|
2019-10-17 18:09:41 -03:00
|
|
|
};
|
2019-10-17 18:34:12 -03:00
|
|
|
|
|
|
|
|
}
|