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

LibWeb: Add "name" to DocumentType nodes

This commit is contained in:
Andreas Kling 2020-05-24 00:12:00 +02:00
parent 634ce37663
commit a9fba2fb91

View file

@ -37,6 +37,12 @@ public:
virtual ~DocumentType() override;
virtual FlyString tag_name() const override { return "#doctype"; }
const String& name() const { return m_name; }
void set_name(const String& name) { m_name = name; }
private:
String m_name;
};
template<>