LibWeb: Extract the HTMLHyperlinkElementUtils IDL mixin

Also added FIXMEs for some missing methods while I was at it.
This commit is contained in:
Sam Atkins
2022-07-27 20:20:38 +01:00
committed by Linus Groh
parent abd359a921
commit 8d2d315858
Notes: sideshowbarker 2024-07-17 08:30:44 +09:00
3 changed files with 37 additions and 28 deletions

View File

@@ -0,0 +1,14 @@
// https://html.spec.whatwg.org/multipage/links.html#htmlhyperlinkelementutils
interface mixin HTMLHyperlinkElementUtils {
[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;
};