ladybird/Libraries/LibWeb/HTML/HTMLOrSVGElement.idl
2025-02-05 16:04:50 -07:00

13 lines
466 B
Text

#import <HTML/DOMStringMap.idl>
// https://html.spec.whatwg.org/multipage/dom.html#htmlorsvgelement
interface mixin HTMLOrSVGElement {
[SameObject] readonly attribute DOMStringMap dataset;
attribute DOMString nonce; // intentionally no [CEReactions]
[CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute long tabIndex;
// FIXME: Support the optional FocusOptions parameter.
undefined focus();
undefined blur();
};