summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLHyperlinkElementUtils.h
AgeCommit message (Collapse)Author
2022-03-26LibWeb: Bring handling of anchor elements closer to specsin-ack
This commit moves the regular handling of links to the anchor elements' activation behavior, and implements a few auxiliary algorithms as defined by the HTML specification. Note that certain things such as javascript links, fragments and opening a new tab are still handled directly in EventHandler, but they have been moved to handle_mouseup so that it behaves closer to how it would if it was entirely up-to-spec.
2021-10-03LibWeb: Implement the HTMLHyperlinkElementUtils mixinAndreas Kling
This is used by HTMLAnchorElement and HTMLAreaElement to share functionality related to their href attribute.