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
Notes: sideshowbarker 2024-07-19 06:12:07 +09:00

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<>