mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 10:44:57 +00:00

HtmlView now calls Node::enclosing_link_element() to find the nearest ancestor <a> element. This patch also adds HTMLElement and HTMLAnchorElement.
9 lines
185 B
C++
9 lines
185 B
C++
#pragma once
|
|
|
|
#include <LibHTML/DOM/Element.h>
|
|
|
|
class HTMLElement : public Element {
|
|
public:
|
|
HTMLElement(Document&, const String& tag_name);
|
|
virtual ~HTMLElement() override;
|
|
};
|