-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
HTMLElement.webidl
37 lines (32 loc) · 1.26 KB
/
HTMLElement.webidl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// https://html.spec.whatwg.org/#htmlelement
[Exposed=Window,
HTMLConstructor]
interface HTMLElement : Element {
// metadata attributes
[CEReactions, Reflect] attribute DOMString title;
[CEReactions, Reflect] attribute DOMString lang;
[CEReactions] attribute boolean translate;
[CEReactions] attribute DOMString dir;
// user interaction
[CEReactions, Reflect] attribute boolean hidden;
void click();
[CEReactions, Reflect] attribute DOMString accessKey;
// readonly attribute DOMString accessKeyLabel;
[CEReactions] attribute boolean draggable;
// [CEReactions] attribute boolean spellcheck;
// [CEReactions] attribute DOMString autocapitalize;
// [CEReactions] attribute [TreatNullAs=EmptyString] DOMString innerText;
// ElementInternals attachInternals();
};
HTMLElement includes GlobalEventHandlers;
// HTMLElement includes DocumentAndElementEventHandlers;
HTMLElement includes ElementContentEditable;
HTMLElement includes HTMLOrSVGElement;
// https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlelement-interface
partial interface HTMLElement {
readonly attribute Element? offsetParent;
readonly attribute long offsetTop;
readonly attribute long offsetLeft;
readonly attribute long offsetWidth;
readonly attribute long offsetHeight;
};