mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00: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: a9fba2fb91
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue