mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00
LibHTML: Add HTMLHeadingElement for <h1> through <h6>
This commit is contained in:
parent
f38b0f667e
commit
5b942b519c
4 changed files with 31 additions and 1 deletions
10
Libraries/LibHTML/DOM/HTMLHeadingElement.cpp
Normal file
10
Libraries/LibHTML/DOM/HTMLHeadingElement.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <LibHTML/DOM/HTMLHeadingElement.h>
|
||||
|
||||
HTMLHeadingElement::HTMLHeadingElement(Document& document, const String& tag_name)
|
||||
: HTMLElement(document, tag_name)
|
||||
{
|
||||
}
|
||||
|
||||
HTMLHeadingElement::~HTMLHeadingElement()
|
||||
{
|
||||
}
|
9
Libraries/LibHTML/DOM/HTMLHeadingElement.h
Normal file
9
Libraries/LibHTML/DOM/HTMLHeadingElement.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibHTML/DOM/HTMLElement.h>
|
||||
|
||||
class HTMLHeadingElement : public HTMLElement {
|
||||
public:
|
||||
HTMLHeadingElement(Document&, const String& tag_name);
|
||||
virtual ~HTMLHeadingElement() override;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue