1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 02:25:08 +00:00
serenity/LibHTML/DOM/Text.cpp
Andreas Kling 7eef69ad4b LibHTML: Refactor to go from DOM -> styled tree -> layout tree.
Frame::layout() drives everything now, it takes the DOM contained in the
frame and puts it through the tree transformations.
2019-06-29 21:42:07 +02:00

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()
{
}