1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 22:05:08 +00:00
serenity/Userland/Libraries/LibWeb/HTML/HTMLElement.idl
Simon Wanner 03c225b023 LibWeb: Move Element.prototype.style to ElementCSSInlineStyle mixin
Also adds the `PutForwards` extended attribute allowing setting the
style property.
2023-03-20 20:37:40 -04:00

42 lines
1.1 KiB
Text

#import <CSS/ElementCSSInlineStyle.idl>
#import <HTML/DOMStringMap.idl>
#import <DOM/EventHandler.idl>
// https://html.spec.whatwg.org/multipage/semantics.html#htmlelement
[Exposed=Window]
interface HTMLElement : Element {
[Reflect] attribute DOMString title;
[Reflect] attribute DOMString lang;
attribute DOMString dir;
[Reflect] attribute boolean hidden;
attribute DOMString contentEditable;
undefined click();
// FIXME: Support the optional FocusOptions parameter.
undefined focus();
undefined blur();
[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;
[CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute long tabIndex;
};
HTMLElement includes ElementCSSInlineStyle;