2023-10-25 17:26:24 +02:00
|
|
|
#import <CSS/LinkStyle.idl>
|
2024-05-31 21:18:55 +01:00
|
|
|
#import <Fetch/Request.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/HTMLElement.idl>
|
2024-05-30 21:33:43 +01:00
|
|
|
#import <HTML/Scripting/Fetching.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
|
2024-11-28 20:38:36 +00:00
|
|
|
// https://fetch.spec.whatwg.org/#concept-potential-destination
|
|
|
|
enum PotentialDestination {
|
|
|
|
"",
|
|
|
|
"audio",
|
|
|
|
"audioworklet",
|
|
|
|
"document",
|
|
|
|
"embed",
|
|
|
|
"font",
|
|
|
|
"frame",
|
|
|
|
"iframe",
|
|
|
|
"image",
|
|
|
|
"json",
|
|
|
|
"manifest",
|
|
|
|
"object",
|
|
|
|
"paintworklet",
|
|
|
|
"report",
|
|
|
|
"script",
|
|
|
|
"serviceworker",
|
|
|
|
"sharedworker",
|
|
|
|
"style",
|
|
|
|
"track",
|
|
|
|
"video",
|
|
|
|
"webidentity",
|
|
|
|
"worker",
|
|
|
|
"xslt",
|
|
|
|
"fetch"
|
|
|
|
};
|
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement
|
2023-09-03 01:09:33 +12:00
|
|
|
[Exposed=Window]
|
2020-07-27 05:04:26 +01:00
|
|
|
interface HTMLLinkElement : HTMLElement {
|
|
|
|
|
2023-03-23 03:48:52 -04:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2024-08-08 10:35:57 +01:00
|
|
|
[CEReactions, Reflect, URL] attribute USVString href;
|
2024-05-30 21:40:05 +01:00
|
|
|
[CEReactions, Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect] attribute DOMString rel;
|
2024-11-28 20:38:36 +00:00
|
|
|
[CEReactions, Reflect, Enumerated=PotentialDestination] attribute DOMString as;
|
2024-05-16 06:02:56 +01:00
|
|
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
2025-03-04 14:50:11 +01:00
|
|
|
[CEReactions] attribute DOMString media;
|
2023-10-25 17:26:24 +02:00
|
|
|
[CEReactions, Reflect] attribute DOMString integrity;
|
|
|
|
[CEReactions, Reflect] attribute DOMString hreflang;
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect] attribute DOMString type;
|
2024-11-18 07:00:59 +13:00
|
|
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList sizes;
|
2024-08-08 10:35:57 +01:00
|
|
|
[CEReactions, Reflect=imagesrcset] attribute USVString imageSrcset;
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect=imagesizes] attribute DOMString imageSizes;
|
2024-05-31 21:18:55 +01:00
|
|
|
[CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
|
2024-05-19 14:15:49 +01:00
|
|
|
[FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect] attribute boolean disabled;
|
2024-05-30 21:33:43 +01:00
|
|
|
[CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority;
|
2020-07-27 05:04:26 +01:00
|
|
|
|
2023-10-25 17:26:24 +02:00
|
|
|
// Obsolete
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect] attribute DOMString charset;
|
|
|
|
[CEReactions, Reflect] attribute DOMString rev;
|
|
|
|
[CEReactions, Reflect] attribute DOMString target;
|
2020-11-12 04:16:41 +00:00
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|
2025-03-15 15:39:32 +01:00
|
|
|
HTMLLinkElement includes LinkStyle;
|