mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibWeb: Make DocumentType::node_name()
return DocumentType::name()
This aligns our implementation with the specification.
This commit is contained in:
parent
cdb9081a86
commit
ea2bb52962
Notes:
github-actions[bot]
2024-07-26 05:20:18 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ea2bb52962d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/838
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
virtual ~DocumentType() override = default;
|
||||
|
||||
virtual FlyString node_name() const override { return "#doctype"_fly_string; }
|
||||
virtual FlyString node_name() const override { return name(); }
|
||||
|
||||
String const& name() const { return m_name; }
|
||||
void set_name(String const& name) { m_name = name; }
|
||||
|
|
Loading…
Reference in a new issue