/* * Copyright (c) 2023, Aliaksandr Kalenik * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::Layout { class TableWrapper : public BlockContainer { JS_CELL(TableWrapper, BlockContainer); public: TableWrapper(DOM::Document&, DOM::Node*, NonnullRefPtr); TableWrapper(DOM::Document&, DOM::Node*, NonnullOwnPtr); virtual ~TableWrapper() override; private: virtual bool is_table_wrapper() const final { return true; } }; template<> inline bool Node::fast_is() const { return is_table_wrapper(); } }