2022-02-15 22:10:51 +03:00
|
|
|
#import <HTML/DOMStringMap.idl>
|
2022-03-30 23:35:42 +03:00
|
|
|
#import <DOM/EventHandler.idl>
|
2022-02-15 22:10:51 +03:00
|
|
|
|
2020-06-21 15:35:00 +03:00
|
|
|
interface HTMLElement : Element {
|
|
|
|
|
2020-07-24 14:16:11 +03:00
|
|
|
[Reflect] attribute DOMString title;
|
|
|
|
[Reflect] attribute DOMString lang;
|
2020-06-21 15:35:00 +03:00
|
|
|
|
2020-11-09 11:15:10 +03:00
|
|
|
[Reflect] attribute boolean hidden;
|
|
|
|
|
2020-08-03 04:57:28 +03:00
|
|
|
attribute DOMString contentEditable;
|
|
|
|
|
2022-02-15 02:25:51 +03:00
|
|
|
undefined click();
|
|
|
|
|
2022-02-06 20:46:26 +03:00
|
|
|
// FIXME: Support the optional FocusOptions parameter.
|
|
|
|
undefined focus();
|
|
|
|
|
2020-11-11 12:46:53 +03:00
|
|
|
[LegacyNullToEmptyString] attribute DOMString innerText;
|
2021-02-04 00:47:50 +03:00
|
|
|
|
2021-04-15 20:48:55 +03:00
|
|
|
readonly attribute long offsetTop;
|
|
|
|
readonly attribute long offsetLeft;
|
2021-09-30 02:35:19 +03:00
|
|
|
readonly attribute long offsetWidth;
|
|
|
|
readonly attribute long offsetHeight;
|
2020-12-10 00:26:42 +03: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;
|
|
|
|
};
|