
This implementation includes a first cut at run the unfocusing steps from the spec, with many things left unimplemented. The viewport related spec steps in particular don't seem to map to LibWeb concepts, which makes figuring out if things are properly focused much more difficult.
33 lines
800 B
Text
33 lines
800 B
Text
#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();
|
|
|
|
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;
|
|
};
|