mirror of
https://github.com/RGBCube/serenity
synced 2025-05-26 02:25:08 +00:00

Frame::layout() drives everything now, it takes the DOM contained in the frame and puts it through the tree transformations.
12 lines
175 B
C++
12 lines
175 B
C++
#include <LibHTML/DOM/Text.h>
|
|
#include <LibHTML/Layout/LayoutText.h>
|
|
|
|
Text::Text(const String& data)
|
|
: Node(NodeType::TEXT_NODE)
|
|
, m_data(data)
|
|
{
|
|
}
|
|
|
|
Text::~Text()
|
|
{
|
|
}
|