summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLElement.idl
blob: 9abdbdd53804118110bf3c818344ed8c96177871 (plain)
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
#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;
};