mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibHTML: Add a way to get a Document's title
You can now query Document::title() to get a String containing whatever is inside the document's <title> tag. In support of this, this patch adds the <html>, <head> and <title> elements.
This commit is contained in:
10
Libraries/LibHTML/DOM/HTMLHeadElement.cpp
Normal file
10
Libraries/LibHTML/DOM/HTMLHeadElement.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <LibHTML/DOM/HTMLHeadElement.h>
|
||||
|
||||
HTMLHeadElement::HTMLHeadElement(Document& document, const String& tag_name)
|
||||
: HTMLElement(document, tag_name)
|
||||
{
|
||||
}
|
||||
|
||||
HTMLHeadElement::~HTMLHeadElement()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user