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
|
|
|
|
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-06-04 08:04:44 +01:00
|
|
|
[CEReactions] attribute DOMString as;
|
2024-05-16 06:02:56 +01:00
|
|
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
2023-10-25 17:26:24 +02:00
|
|
|
[CEReactions, Reflect] attribute DOMString media;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString integrity;
|
|
|
|
|
[CEReactions, Reflect] attribute DOMString hreflang;
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect] attribute DOMString type;
|
2024-05-19 14:15:49 +01:00
|
|
|
[FIXME, 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
|
|
|
};
|
2023-10-25 17:26:24 +02:00
|
|
|
// FIXME: HTMLLinkElement includes LinkStyle;
|