mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 20:52:54 +00:00
LibHTML: Add stub classes for basic table layout
This class introduces LayoutTable, LayoutTableRow and LayoutTableCell. These are produced by "display" values table, table-row and table-cell respectively. Note that there's no layout happening yet, I'm just adding the classes.
This commit is contained in:
parent
14f380f87a
commit
41896ff521
Notes:
sideshowbarker
2024-07-19 11:39:33 +09:00
Author: https://github.com/awesomekling
Commit: 41896ff521
9 changed files with 107 additions and 0 deletions
16
Libraries/LibHTML/Layout/LayoutTableRow.cpp
Normal file
16
Libraries/LibHTML/Layout/LayoutTableRow.cpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include <LibHTML/DOM/Element.h>
|
||||
#include <LibHTML/Layout/LayoutTableRow.h>
|
||||
|
||||
LayoutTableRow::LayoutTableRow(const Element& element, NonnullRefPtr<StyleProperties> style)
|
||||
: LayoutBox(&element, move(style))
|
||||
{
|
||||
}
|
||||
|
||||
LayoutTableRow::~LayoutTableRow()
|
||||
{
|
||||
}
|
||||
|
||||
void LayoutTableRow::layout()
|
||||
{
|
||||
LayoutBox::layout();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue