TableRowBox.h 572 B

123456789101112131415161718192021222324
  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/Box.h>
  8. namespace Web::Layout {
  9. class TableRowBox final : public Box {
  10. JS_CELL(TableRowBox, Box);
  11. public:
  12. TableRowBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
  13. TableRowBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
  14. virtual ~TableRowBox() override;
  15. static CSS::Display static_display(bool) { return CSS::Display { CSS::Display::Internal::TableRow }; }
  16. };
  17. }