1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:58:10 +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

@ -29,8 +29,13 @@
namespace Web::Layout {
TableRowBox::TableRowBox(DOM::Document& document, DOM::Element& element, NonnullRefPtr<CSS::StyleProperties> style)
: Box(document, &element, move(style))
TableRowBox::TableRowBox(DOM::Document& document, DOM::Element* element, NonnullRefPtr<CSS::StyleProperties> style)
: Box(document, element, move(style))
{
}
TableRowBox::TableRowBox(DOM::Document& document, DOM::Element* element, CSS::ComputedValues computed_values)
: Box(document, element, move(computed_values))
{
}