| 
									
										
										
										
											2023-03-20 19:31:13 +01:00
										 |  |  | #import <CSS/ElementCSSInlineStyle.idl> | 
					
						
							| 
									
										
										
										
											2022-02-15 22:40:51 +03:30
										 |  |  | #import <HTML/DOMStringMap.idl> | 
					
						
							| 
									
										
										
										
											2023-11-08 11:04:56 -07:00
										 |  |  | #import <DOM/Element.idl> | 
					
						
							| 
									
										
										
										
											2022-03-30 23:35:42 +03:00
										 |  |  | #import <DOM/EventHandler.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#htmlelement | 
					
						
							| 
									
										
										
										
											2023-09-03 16:42:25 +12:00
										 |  |  | [Exposed=Window] | 
					
						
							| 
									
										
										
										
											2020-06-21 14:35:00 +02:00
										 |  |  | interface HTMLElement : Element { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-23 03:48:52 -04:00
										 |  |  |     [HTMLConstructor] constructor(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     // metadata attributes | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [Reflect, CEReactions] attribute DOMString title; | 
					
						
							|  |  |  |     [Reflect, CEReactions] attribute DOMString lang; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute boolean translate; | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [CEReactions] attribute DOMString dir; | 
					
						
							| 
									
										
										
										
											2020-06-21 14:35:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     // user interaction | 
					
						
							| 
									
										
										
										
											2023-03-01 01:45:18 +00:00
										 |  |  |     [Reflect, CEReactions] attribute boolean hidden; | 
					
						
							| 
									
										
										
										
											2024-04-14 17:56:03 +02:00
										 |  |  |     [Reflect, CEReactions] attribute boolean inert; | 
					
						
							| 
									
										
										
										
											2022-02-15 00:25:51 +01:00
										 |  |  |     undefined click(); | 
					
						
							| 
									
										
										
										
											2024-04-14 17:56:03 +02:00
										 |  |  |     [Reflect=accesskey, CEReactions] attribute DOMString accessKey; | 
					
						
							| 
									
										
										
										
											2024-04-14 17:55:48 +02:00
										 |  |  |     readonly attribute DOMString accessKeyLabel; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute boolean draggable; | 
					
						
							|  |  |  |     [FIXME, CEReactions] attribute boolean spellcheck; | 
					
						
							|  |  |  |     [FIXME, CEReactions] attribute DOMString autocapitalize; | 
					
						
							| 
									
										
										
										
											2022-02-15 00:25:51 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     [LegacyNullToEmptyString, CEReactions] attribute DOMString innerText; | 
					
						
							| 
									
										
										
										
											2024-04-14 18:26:44 +02:00
										 |  |  |     [LegacyNullToEmptyString, CEReactions] attribute DOMString outerText; | 
					
						
							| 
									
										
										
										
											2022-02-06 18:46:26 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     // FIXME: ElementInternals attachInternals(); | 
					
						
							| 
									
										
										
										
											2022-10-02 14:42:47 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     // The popover API | 
					
						
							| 
									
										
										
										
											2024-05-19 22:15:54 +12:00
										 |  |  |     [FIXME] undefined showPopover(); | 
					
						
							|  |  |  |     [FIXME] undefined hidePopover(); | 
					
						
							|  |  |  |     [FIXME] boolean togglePopover(optional boolean force); | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute DOMString? popover; | 
					
						
							| 
									
										
										
										
											2021-02-03 22:47:50 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     // https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlelement-interface | 
					
						
							| 
									
										
										
										
											2023-12-10 13:47:16 +01:00
										 |  |  |     readonly attribute Element? offsetParent; | 
					
						
							| 
									
										
										
										
											2021-04-15 20:48:55 +03:00
										 |  |  |     readonly attribute long offsetTop; | 
					
						
							|  |  |  |     readonly attribute long offsetLeft; | 
					
						
							| 
									
										
										
										
											2021-09-30 01:35:19 +02:00
										 |  |  |     readonly attribute long offsetWidth; | 
					
						
							|  |  |  |     readonly attribute long offsetHeight; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-12-09 21:26:42 +00:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2022-03-30 23:53:56 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-01 22:00:22 +03:00
										 |  |  | HTMLElement includes GlobalEventHandlers; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | HTMLElement includes ElementContentEditable; | 
					
						
							| 
									
										
										
										
											2022-03-30 23:53:56 +03:00
										 |  |  | HTMLElement includes HTMLOrSVGElement; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-07 19:29:22 -07:00
										 |  |  | // https://html.spec.whatwg.org/#elementcontenteditable | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | interface mixin ElementContentEditable { | 
					
						
							|  |  |  |     [CEReactions] attribute DOMString contentEditable; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute DOMString enterKeyHint; | 
					
						
							| 
									
										
										
										
											2024-02-25 07:00:04 +01:00
										 |  |  |     readonly attribute boolean isContentEditable; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME, CEReactions] attribute DOMString inputMode; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-07 19:29:22 -07:00
										 |  |  | // https://html.spec.whatwg.org/#htmlorsvgelement | 
					
						
							| 
									
										
										
										
											2022-03-30 23:53:56 +03:00
										 |  |  | interface mixin HTMLOrSVGElement { | 
					
						
							|  |  |  |     [SameObject] readonly attribute DOMStringMap dataset; | 
					
						
							| 
									
										
										
										
											2024-05-19 14:15:49 +01:00
										 |  |  |     [FIXME] attribute DOMString nonce; // intentionally no [CEReactions] | 
					
						
							| 
									
										
										
										
											2022-11-05 03:58:14 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-05 04:24:08 +00:00
										 |  |  |     [CEReactions, Reflect] attribute boolean autofocus; | 
					
						
							| 
									
										
										
										
											2022-11-05 03:58:14 +00:00
										 |  |  |     [CEReactions] attribute long tabIndex; | 
					
						
							| 
									
										
										
										
											2023-10-25 17:26:24 +02:00
										 |  |  |     // FIXME: Support the optional FocusOptions parameter. | 
					
						
							|  |  |  |     undefined focus(); | 
					
						
							|  |  |  |     undefined blur(); | 
					
						
							| 
									
										
										
										
											2022-03-30 23:53:56 +03:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2023-03-20 19:31:13 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | HTMLElement includes ElementCSSInlineStyle; |