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:
parent
75829c1b81
commit
d3046a2649
7 changed files with 32 additions and 13 deletions
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue