
HtmlView now calls Node::enclosing_link_element() to find the nearest ancestor <a> element. This patch also adds HTMLElement and HTMLAnchorElement.
10 lines
212 B
C++
10 lines
212 B
C++
#include <LibHTML/DOM/HTMLAnchorElement.h>
|
|
|
|
HTMLAnchorElement::HTMLAnchorElement(Document& document, const String& tag_name)
|
|
: HTMLElement(document, tag_name)
|
|
{
|
|
}
|
|
|
|
HTMLAnchorElement::~HTMLAnchorElement()
|
|
{
|
|
}
|