summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-03 19:39:12 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-03 21:31:46 +0200
commita7a3f41f6714a6348086bbeb951ab42457d9ef9b (patch)
treed9761ad71e64648fc27787ddb1a24f9668749732 /Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
parente5b85447625088375b6e92dfefbe696246a1626c (diff)
downloadserenity-a7a3f41f6714a6348086bbeb951ab42457d9ef9b.zip
LibWeb: Implement the HTMLHyperlinkElementUtils mixin
This is used by HTMLAnchorElement and HTMLAreaElement to share functionality related to their href attribute.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl13
1 files changed, 13 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
index 7cd0058305..318cddeb1f 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
+++ b/Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
@@ -2,4 +2,17 @@ interface HTMLAreaElement : HTMLElement {
[Reflect=nohref] attribute boolean noHref;
+ // FIXME: This should come from a HTMLHyperlinkElementUtils mixin
+ [CEReactions] stringifier attribute USVString href;
+ readonly attribute USVString origin;
+ [CEReactions] attribute USVString protocol;
+ [CEReactions] attribute USVString username;
+ [CEReactions] attribute USVString password;
+ [CEReactions] attribute USVString host;
+ [CEReactions] attribute USVString hostname;
+ [CEReactions] attribute USVString port;
+ [CEReactions] attribute USVString pathname;
+ [CEReactions] attribute USVString search;
+ [CEReactions] attribute USVString hash;
+
};