diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-03 19:39:12 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-03 21:31:46 +0200 |
commit | a7a3f41f6714a6348086bbeb951ab42457d9ef9b (patch) | |
tree | d9761ad71e64648fc27787ddb1a24f9668749732 /Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl | |
parent | e5b85447625088375b6e92dfefbe696246a1626c (diff) | |
download | serenity-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.idl | 13 |
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; + }; |