| 
									
										
										
										
											2024-05-31 21:21:45 +01:00
										 |  |  | #import <Fetch/Request.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <HTML/HTMLElement.idl> | 
					
						
							| 
									
										
										
										
											2024-05-23 22:53:03 +01:00
										 |  |  | #import <HTML/Scripting/Fetching.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-26 18:27:11 +00:00
										 |  |  | // https://html.spec.whatwg.org/multipage/images.html#image-decoding-hint | 
					
						
							|  |  |  | [MissingValueDefault=auto, InvalidValueDefault=auto] | 
					
						
							|  |  |  | enum Decoding { | 
					
						
							|  |  |  |     "sync", | 
					
						
							|  |  |  |     "async", | 
					
						
							|  |  |  |     "auto" | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 |  |  | // https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement | 
					
						
							| 
									
										
										
										
											2023-09-03 01:09:33 +12:00
										 |  |  | [Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)] | 
					
						
							| 
									
										
										
										
											2020-06-21 15:26:09 +02:00
										 |  |  | interface HTMLImageElement : HTMLElement { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-23 03:48:52 -04:00
										 |  |  |     [HTMLConstructor] constructor(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString alt; | 
					
						
							| 
									
										
										
										
											2024-08-08 10:35:57 +01:00
										 |  |  |     [CEReactions, Reflect, URL] attribute USVString src; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString srcset; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute DOMString sizes; | 
					
						
							| 
									
										
										
										
											2024-05-30 21:43:25 +01:00
										 |  |  |     [CEReactions, Enumerated=CORSSettingsAttribute, Reflect=crossorigin] attribute DOMString? crossOrigin; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions, Reflect=usemap] attribute DOMString useMap; | 
					
						
							|  |  |  |     [CEReactions, Reflect=ismap] attribute boolean isMap; | 
					
						
							| 
									
										
										
										
											2022-02-25 18:42:37 +01:00
										 |  |  |     [CEReactions] attribute unsigned long width; | 
					
						
							|  |  |  |     [CEReactions] attribute unsigned long height; | 
					
						
							| 
									
										
										
										
											2022-04-12 13:20:43 -03:00
										 |  |  |     readonly attribute unsigned long naturalWidth; | 
					
						
							|  |  |  |     readonly attribute unsigned long naturalHeight; | 
					
						
							| 
									
										
										
										
											2022-10-03 14:54:27 +02:00
										 |  |  |     readonly attribute boolean complete; | 
					
						
							| 
									
										
										
										
											2024-05-24 00:08:03 +01:00
										 |  |  |     readonly attribute USVString currentSrc; | 
					
						
							| 
									
										
										
										
											2024-05-31 21:21:45 +01:00
										 |  |  |     [CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy; | 
					
						
							| 
									
										
										
										
											2024-11-26 18:27:11 +00:00
										 |  |  |     [CEReactions, Enumerated=Decoding, Reflect] attribute DOMString decoding; | 
					
						
							| 
									
										
										
										
											2024-05-23 22:53:03 +01:00
										 |  |  |     [CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading; | 
					
						
							| 
									
										
										
										
											2024-05-27 09:46:36 +01:00
										 |  |  |     [CEReactions, Enumerated=FetchPriorityAttribute, Reflect=fetchpriority] attribute DOMString fetchPriority; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-05 23:15:26 +02:00
										 |  |  |     Promise<undefined> decode(); | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     // Obsolete | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute DOMString name; | 
					
						
							| 
									
										
										
										
											2024-08-17 11:35:35 +02:00
										 |  |  |     [CEReactions, Reflect, URL] attribute USVString lowsrc; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     [CEReactions, Reflect] attribute DOMString align; | 
					
						
							| 
									
										
										
										
											2024-05-21 12:12:54 +01:00
										 |  |  |     [CEReactions, Reflect] attribute unsigned long hspace; | 
					
						
							|  |  |  |     [CEReactions, Reflect] attribute unsigned long vspace; | 
					
						
							| 
									
										
										
										
											2024-08-08 10:35:57 +01:00
										 |  |  |     [CEReactions, Reflect=longdesc, URL] attribute USVString longDesc; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     [CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border; | 
					
						
							| 
									
										
										
										
											2022-10-03 14:54:27 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-07-20 18:43:23 +01:00
										 |  |  |     // https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlimageelement-interface | 
					
						
							|  |  |  |     [FIXME] readonly attribute long x; | 
					
						
							|  |  |  |     [FIXME] readonly attribute long y; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 |  |  | }; |