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