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