1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

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
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;
};