mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
LibWeb: Add "name" to DocumentType nodes
This commit is contained in:
parent
634ce37663
commit
a9fba2fb91
Notes:
sideshowbarker
2024-07-19 06:12:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a9fba2fb910
@ -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<>
|
||||
|
Loading…
Reference in New Issue
Block a user