2023-03-20 19:31:13 +01:00
|
|
|
#import <CSS/ElementCSSInlineStyle.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/DOMStringMap.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 02:00:01 +12:00
|
|
|
[Exposed=Window, UseDeprecatedAKString]
|
2020-06-21 14:35:00 +02:00
|
|
|
interface HTMLElement : Element {
|
|
|
|
|
|
2023-03-23 03:48:52 -04:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
|
2023-03-01 01:45:18 +00:00
|
|
|
[Reflect, CEReactions] attribute DOMString title;
|
|
|
|
|
[Reflect, CEReactions] attribute DOMString lang;
|
|
|
|
|
[CEReactions] attribute DOMString dir;
|
2020-06-21 14:35:00 +02:00
|
|
|
|
2023-03-01 01:45:18 +00:00
|
|
|
[Reflect, CEReactions] attribute boolean hidden;
|
2020-11-09 08:15:10 +00:00
|
|
|
|
2020-08-03 02:57:28 +01:00
|
|
|
attribute DOMString contentEditable;
|
|
|
|
|
|
2022-02-15 00:25:51 +01:00
|
|
|
undefined click();
|
|
|
|
|
|
2022-02-06 18:46:26 +01:00
|
|
|
// FIXME: Support the optional FocusOptions parameter.
|
|
|
|
|
undefined focus();
|
|
|
|
|
|
2022-10-02 14:42:47 -06:00
|
|
|
undefined blur();
|
|
|
|
|
|
2023-03-01 01:45:18 +00:00
|
|
|
[LegacyNullToEmptyString, CEReactions] attribute DOMString innerText;
|
2021-02-03 22:47:50 +01:00
|
|
|
|
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;
|
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;
|
2022-03-30 23:53:56 +03:00
|
|
|
HTMLElement includes HTMLOrSVGElement;
|
|
|
|
|
|
|
|
|
|
interface mixin HTMLOrSVGElement {
|
|
|
|
|
[SameObject] readonly attribute DOMStringMap dataset;
|
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;
|
2022-03-30 23:53:56 +03:00
|
|
|
};
|
2023-03-20 19:31:13 +01:00
|
|
|
|
|
|
|
|
HTMLElement includes ElementCSSInlineStyle;
|