mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
HtmlView now calls Node::enclosing_link_element() to find the nearest ancestor <a> element. This patch also adds HTMLElement and HTMLAnchorElement.
11 lines
212 B
C++
11 lines
212 B
C++
#include <LibHTML/DOM/HTMLAnchorElement.h>
|
|
|
|
HTMLAnchorElement::HTMLAnchorElement(Document& document, const String& tag_name)
|
|
: HTMLElement(document, tag_name)
|
|
{
|
|
}
|
|
|
|
HTMLAnchorElement::~HTMLAnchorElement()
|
|
{
|
|
}
|