mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibHTML: Detect hovering over links
HtmlView now calls Node::enclosing_link_element() to find the nearest ancestor <a> element. This patch also adds HTMLElement and HTMLAnchorElement.
This commit is contained in:
10
Libraries/LibHTML/DOM/HTMLAnchorElement.cpp
Normal file
10
Libraries/LibHTML/DOM/HTMLAnchorElement.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <LibHTML/DOM/HTMLAnchorElement.h>
|
||||
|
||||
HTMLAnchorElement::HTMLAnchorElement(Document& document, const String& tag_name)
|
||||
: HTMLElement(document, tag_name)
|
||||
{
|
||||
}
|
||||
|
||||
HTMLAnchorElement::~HTMLAnchorElement()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user