1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

LibHTML: Create some subdirectories.

This commit is contained in:
Andreas Kling 2019-06-15 23:41:15 +02:00
parent 0522a8f71c
commit 1f51c2b7da
25 changed files with 49 additions and 50 deletions

17
LibHTML/DOM/Text.h Normal file
View file

@ -0,0 +1,17 @@
#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; }
virtual RetainPtr<LayoutNode> create_layout_node() override;
private:
String m_data;
};