mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Allow anonymous table, table-row and table-cell layout nodes
This commit is contained in:
parent
75829c1b81
commit
d3046a2649
Notes:
sideshowbarker
2024-07-19 00:03:37 +09:00
Author: https://github.com/awesomekling
Commit: d3046a2649
7 changed files with 32 additions and 13 deletions
|
@ -29,8 +29,13 @@
|
|||
|
||||
namespace Web::Layout {
|
||||
|
||||
TableBox::TableBox(DOM::Document& document, DOM::Element& element, NonnullRefPtr<CSS::StyleProperties> style)
|
||||
: Layout::BlockBox(document, &element, move(style))
|
||||
TableBox::TableBox(DOM::Document& document, DOM::Element* element, NonnullRefPtr<CSS::StyleProperties> style)
|
||||
: Layout::BlockBox(document, element, move(style))
|
||||
{
|
||||
}
|
||||
|
||||
TableBox::TableBox(DOM::Document& document, DOM::Element* element, CSS::ComputedValues computed_values)
|
||||
: Layout::BlockBox(document, element, move(computed_values))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue