mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 15:20:58 +00:00 
			
		
		
		
	This is almost guaranteed not to be all CEReactions we need to add, but this puts us in a much better situation.
		
			
				
	
	
		
			44 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
#import <CSS/ElementCSSInlineStyle.idl>
 | 
						|
#import <HTML/DOMStringMap.idl>
 | 
						|
#import <DOM/EventHandler.idl>
 | 
						|
 | 
						|
// https://html.spec.whatwg.org/multipage/semantics.html#htmlelement
 | 
						|
[Exposed=Window]
 | 
						|
interface HTMLElement : Element {
 | 
						|
 | 
						|
    [HTMLConstructor] constructor();
 | 
						|
 | 
						|
    [Reflect, CEReactions] attribute DOMString title;
 | 
						|
    [Reflect, CEReactions] attribute DOMString lang;
 | 
						|
    [CEReactions] attribute DOMString dir;
 | 
						|
 | 
						|
    [Reflect, CEReactions] attribute boolean hidden;
 | 
						|
 | 
						|
    attribute DOMString contentEditable;
 | 
						|
 | 
						|
    undefined click();
 | 
						|
 | 
						|
    // FIXME: Support the optional FocusOptions parameter.
 | 
						|
    undefined focus();
 | 
						|
 | 
						|
    undefined blur();
 | 
						|
 | 
						|
    [LegacyNullToEmptyString, CEReactions] attribute DOMString innerText;
 | 
						|
 | 
						|
    readonly attribute long offsetTop;
 | 
						|
    readonly attribute long offsetLeft;
 | 
						|
    readonly attribute long offsetWidth;
 | 
						|
    readonly attribute long offsetHeight;
 | 
						|
};
 | 
						|
 | 
						|
HTMLElement includes GlobalEventHandlers;
 | 
						|
HTMLElement includes HTMLOrSVGElement;
 | 
						|
 | 
						|
interface mixin HTMLOrSVGElement {
 | 
						|
    [SameObject] readonly attribute DOMStringMap dataset;
 | 
						|
 | 
						|
    [CEReactions, Reflect] attribute boolean autofocus;
 | 
						|
    [CEReactions] attribute long tabIndex;
 | 
						|
};
 | 
						|
 | 
						|
HTMLElement includes ElementCSSInlineStyle;
 |