mirror of
https://github.com/RGBCube/serenity
synced 2025-07-20 04:07:39 +00:00

Frame::layout() drives everything now, it takes the DOM contained in the frame and puts it through the tree transformations.
15 lines
258 B
C++
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;
|
|
};
|