TableBox.h 557 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/Layout/BlockContainer.h>
  8. namespace Web::Layout {
  9. class TableBox final : public Layout::BlockContainer {
  10. public:
  11. TableBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
  12. TableBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
  13. virtual ~TableBox() override;
  14. static CSS::Display static_display() { return CSS::Display::from_short(CSS::Display::Short::Table); }
  15. };
  16. }