ladybird/Userland/Libraries/LibWeb/HTML/HTMLElement.idl

32 lines
777 B
Plaintext
Raw Normal View History

#import <HTML/DOMStringMap.idl>
#import <DOM/EventHandler.idl>
interface HTMLElement : Element {
[Reflect] attribute DOMString title;
[Reflect] attribute DOMString lang;
[Reflect] attribute boolean hidden;
attribute DOMString contentEditable;
undefined click();
// FIXME: Support the optional FocusOptions parameter.
undefined focus();
[LegacyNullToEmptyString] 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;
};