
Solves conflict in layout tree "type system" when elements <label> (or <button>) can't have `display: table` because Box can't be Layout::Label (or Layout::ButtonBox) and Layout::TableBox at the same time.
22 lines
464 B
C++
22 lines
464 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Layout/Box.h>
|
|
|
|
namespace Web::Layout {
|
|
|
|
class TableRowBox final : public Box {
|
|
JS_CELL(TableRowBox, Box);
|
|
|
|
public:
|
|
TableRowBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
|
|
TableRowBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
|
|
virtual ~TableRowBox() override;
|
|
};
|
|
|
|
}
|