1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:17:42 +00:00

LibWeb: Allow anonymous table, table-row and table-cell layout nodes

This commit is contained in:
Andreas Kling 2021-01-07 16:37:51 +01:00
parent 75829c1b81
commit d3046a2649
7 changed files with 32 additions and 13 deletions

View file

@ -32,7 +32,8 @@ namespace Web::Layout {
class TableCellBox final : public BlockBox {
public:
TableCellBox(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
TableCellBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>);
TableCellBox(DOM::Document&, DOM::Element*, CSS::ComputedValues);
virtual ~TableCellBox() override;
TableCellBox* next_cell() { return next_sibling_of_type<TableCellBox>(); }