1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-20 04:07:39 +00:00
serenity/LibHTML/DOM/Text.h
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

15 lines
258 B
C++

#pragma once
#include <AK/AKString.h>
#include <LibHTML/DOM/Node.h>
class Text final : public Node {
public:
explicit Text(const String&);
virtual ~Text() override;
const String& data() const { return m_data; }
private:
String m_data;
};